/* 集团概况模块样式 */
.overview-section {
  padding: 48px 0;
  background: #fff;
  width: 100%;
}

.overview-section .container {
  width: 1500px;
  margin: 0 auto;
}

.overview-header {
  text-align: center;
  margin-bottom: 48px;
}

.overview-title {
  font-family: Microsoft YaHei;
  font-weight: bold;
  font-size: 40px;
  color: #333333;
  line-height: 1.2;
  margin: 0 auto;
  white-space: nowrap;
}

.overview-title-image {
  display: block;
  margin: 20px auto 0 auto;
  max-width: 100%;
  height: 100%;
}

.overview-content {
  display: grid;
  grid-template-columns: 726px 1fr;
  gap: 67px;
  margin-bottom: 36px;
}

.overview-image {
  overflow: hidden;
  cursor: pointer;
}

.overview-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  transform-origin: center;
}

.overview-image:hover img {
  transform: scale(1.05);
}

.overview-info {
  padding: 0 8px;
  margin: 0 auto;
  width: calc(100% - 32px);
}

.overview-subtitle {
  width: 270px;
  height: 28px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 28px;
  color: #043491;
  line-height: 84px;
  margin-bottom: 64px;
  cursor: pointer;
  transition: color 0.3s ease;

}

.overview-subtitle:hover {
  color: #1a73e8;
  cursor: pointer;
}

.overview-desc {
  text-align: justify;
  text-justify: inter-ideograph;
  width: 100%;
  height: 135px;
  font-family: Microsoft YaHei;
  font-size: 18px;
  color: #666666;
  line-height: 35px;
  margin-bottom: 64px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.overview-detail-btn {
  font-family: Microsoft YaHei;
  font-size: 16px;
  color: #ffffff;
  padding: 12px 24px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #1a73e8, #043491);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  border-radius: 0;
  gap: 8px;
}

.overview-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #043491, #1a73e8);
  cursor: pointer;
}

/* 企业发展时间线 */
.timeline-section {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.timeline-list {
  width: 100%;
  overflow: hidden;
}

.desktop-timeline {
  display: flex;
  gap: 0;
  scroll-behavior: smooth;
  padding: 16px 0;
  cursor: grab;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
}

.desktop-timeline::-webkit-scrollbar {
  height: 8px;
}

.desktop-timeline::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
  margin: 0 16px;
}

.desktop-timeline::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.desktop-timeline::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.mobile-timeline {
  display: none;
}

.timeline-item {
  width: 281px;
  height: 360px;
  flex: 0 0 auto;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 4px;
}

.timeline-item:first-child {
  margin-left: 16px;
}

.timeline-item:last-child {
  margin-right: 16px;
}

.timeline-item {
  background-image: url("https://rh-pc-public.oss-cn-beijing.aliyuncs.com/official-static/images/overview/img67.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.timeline-item:hover {
  background-image: url("https://rh-pc-public.oss-cn-beijing.aliyuncs.com/official-static/images/overview/img5.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.timeline-item:hover .timeline-period {
  opacity: 0;
  visibility: hidden;
}

.timeline-item:hover .timeline-title {
  top: 34px;
  color: #fefffe;
}

.timeline-item:hover .timeline-content {
  top: 72px;
  color: #fefffe;
  width: 210px;
  height: 280px;
  line-height: 24px;
  -webkit-line-clamp: 11;
}

.timeline-period {
  width: 160px;
  height: 32px;
  font-family: Impact;
  font-weight: 400;
  font-size: 32px;
  color: #043491;
  line-height: 28px;
  position: absolute;
  top: 66px;
  left: 39px;
  white-space: nowrap;
  overflow: visible;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-title {
  width: 198px;
  height: 26px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 22px;
  color: #000000;
  line-height: 28px;
  position: absolute;
  top: 120px;
  left: 39px;
  white-space: nowrap;
  overflow: hidden;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-content {
  text-align: justify;
  text-justify: inter-ideograph;
  width: 193px;
  height: 138px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 18px;
  color: #707070;
  line-height: 28px;
  position: absolute;
  top: 152px;
  left: 39px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  z-index: 2;
  transition: all 0.3s ease;
}

/* 1024px 响应式 */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .overview-section {
    padding: 3rem 0;
  }

  .overview-section .container {
    width: 900px;
  }

  .overview-title {
    font-size: 2rem;
  }

  .overview-content {
    grid-template-columns: 450px 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
  }

  .overview-subtitle {
    font-size: 1.5rem;
    line-height: 3rem;
    margin-bottom: 2rem;
  }

  .overview-desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    height: auto;
    min-height: 120px;
  }

  .overview-detail-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }

  .timeline-item {
    width: 220px;
    height: 300px;
  }

  .timeline-period {
    font-size: 1.5rem;
    top: 50px;
    left: 30px;
  }

  .timeline-title {
    font-size: 1.1rem;
    top: 90px;
    left: 30px;
  }

  .timeline-content {
    font-size: 0.9rem;
    line-height: 1.4;
    top: 120px;
    left: 30px;
    width: 160px;
    height: 120px;
    -webkit-line-clamp: 4;
  }

  .timeline-item:hover .timeline-title {
    top: 30px;
  }

  .timeline-item:hover .timeline-content {
    top: 60px;
    width: 180px;
    height: 220px;
    -webkit-line-clamp: 8;
  }
}

/* 480px 响应式 */
@media (max-width: 30rem) {
  /* 响应式字体设置 */
  html {
    font-size: 16px;
  }

  .overview-section {
    padding: 2rem 0 !important;
  }

  .overview-section .container {
    width: 100% !important;
    padding: 0 1.5rem !important;
  }

  .overview-header {
    margin-bottom: 2rem !important;
    margin-top: 0px;
  }

  .overview-title {
    font-size: 1.5rem !important;
    white-space: normal;
  }

  .overview-title-image {
    width: 70px !important;
    height: 2px !important;
    margin: 0.5rem auto 0 auto;
  }

  .overview-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .overview-image img {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
  }

  .overview-image:hover img {
    transform: none;
  }

  .overview-info {
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0px;
  }

  .overview-subtitle {
    width: 100% !important;
    height: auto !important;
    font-size: 1.4rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
    text-align: center;
  }

  .overview-desc {
    width: 100% !important;
    height: auto !important;
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    -webkit-line-clamp: 4;
  }

  .overview-detail-btn {
    font-size: 1.2rem !important;
    width: auto;
    min-width: 6rem;
    height: 2rem;
    padding: 0.5rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .desktop-timeline {
    display: none !important;
  }

  .mobile-timeline {
    display: block !important;
  }

  .mobile-timeline-item {
    background: #f8f8f8;
    padding: 1.25rem 1rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 100%;
    border-left: 4px solid #043491;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile-timeline-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    width: 100%;
  }

  .mobile-timeline-period {
    font-family: Impact;
    font-weight: 400;
    font-size: 1.2rem !important;
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.1);
    padding: 0.375rem 0.75rem;
    border-radius: 0;
    min-width: 6rem;
    text-align: center;
    line-height: 1.2;
    margin: 0 auto;
  }

  .mobile-timeline-title {
    font-size: 1.4rem !important;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    font-family: Microsoft YaHei;
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .mobile-timeline-content {
    font-size: 1.2rem !important;
    line-height: 1.5;
    color: #666;
    text-align: justify;
    text-justify: inter-ideograph;
    font-family: Microsoft YaHei;
    width: 100%;
  }

  .timeline-item {
    display: none !important;
  }
}

/* 375px 响应式 */
@media (max-width: 23.4375rem) {
  /* 响应式字体设置 */
  html {
    font-size: 16px;
  }

  .overview-section {
    padding: 1.5rem 0 !important;
  }

  .overview-section .container {
    padding: 0 1rem !important;
  }

  .overview-header {
    margin-bottom: 1.5rem !important;
  }

  .overview-title {
    font-size: 1.5rem !important;
  }

  .overview-title-image {
    width: 60px !important;
    height: 0.2rem !important;
  }

  .overview-content {
    gap: 1.25rem !important;
    margin-bottom: 1.25rem !important;
  }

  .overview-image img {
    height: 160px !important;
  }

  .overview-subtitle {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
  }

  .overview-desc {
    /* font-size: 1rem !important; */
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    -webkit-line-clamp: 3;
  }

  .overview-detail-btn {
    font-size: 1rem !important;
    width: auto;
    min-width: 5rem;
    height: 2.25rem;
    padding: 0.5rem 0.5rem;
  }

  .mobile-timeline-item {
    padding: 1rem 0.75rem;
    margin-bottom: 1.5rem;
  }

  .mobile-timeline-header {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .mobile-timeline-period {
    font-size: 1.2rem !important;
    padding: 0.25rem 0.625rem;
    min-width: 5rem;
  }

  .mobile-timeline-title {
    font-size: 1.2rem !important;
  }

  .mobile-timeline-content {
    /* font-size: 1rem !important; */
    line-height: 1.4;
  }
}
