/* 父容器，padding */
.article-content {
  --text-color-1: var(--font-color-2);
  --text-color-2: var(--dark-primary);
  --red-primary: #DE0515; /* 红色 */
  --img-container-border-raidus: 2rem;
  color: var(--text-color-1);
}
.position-relative {
  position: relative;
}
.text-center {
  text-align: center;
}
.border-radius {
  border-radius: 2rem;
}
.white-bg {
  background: var(--light-primary);
}
.absolute-img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}
.img-contain {
  object-fit: contain;
}
/* 关于麒麟 */
.section-about-container {
  position: relative;
  padding: 7.9rem 7rem 8rem 7rem;
}
.content-1 {
  margin-top: 7rem;
  display: flex;
}
.left-img-container{
  width: 66rem;
  position: relative;
  border-radius: var(--img-container-border-raidus);
  overflow: hidden;
  flex-shrink: 0;
}
.right-content-container {
  flex: 1;
  margin-left: 5rem;
  padding: 1.4rem 0;
}
.section-title {
  font-size: 3.6rem;
  line-height: 1;
  color: var(--red-primary);
  text-align: center;
}
.desc-container {
  font-size: 1.6rem;
  line-height: 3rem;
}
.desc-container > p+p {
  margin-top: 5rem;
}
/* 麒麟实力 */
.section-strenth-container {
  margin-top: 5rem;
  position: relative;
}
.section-strenth-content {
  position: relative;
}
.overflow-container {
  overflow-y: auto;
  width: 100%;
  padding-right: 2rem;
}
/* 滚动条样式 */
.overflow-container::-webkit-scrollbar {
  width: 1.6rem;
  height: 0.8rem;
}
.overflow-container::-webkit-scrollbar-thumb {
  background: #DE0515;
  border-radius: 1.6rem;
}
.overflow-container::-webkit-scrollbar-track {
  background: #EEEEEE;
  border-radius: 1rem;
}
/* 麒麟大事记 */
.section-event-container {
  margin-top: 7.8rem;
  padding-bottom: 11.1rem;
}
.section-event-content {
  margin-top: 6.9rem;
  display: flex;
  align-items: flex-start;
  height: 48.1rem;
}
.event-img-container {
  width: 48.6rem;
  border-radius: var(--img-container-border-raidus);
  height: 100%;
  overflow: hidden;
  transform: translateY(-3rem);
}
.event-img-list {
  display: flex;
  align-items: center;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
.event-img-list > li { 
  flex: 0 0 100%;
}
.event-img-container img {
  display: block;
  width: 100%;
}
.event-img-container2 {
  display: block;
}
.event-content-container {
  flex: 1;
  margin-left: -5.6rem;
  padding: 6rem 6rem 6rem 12.8rem;
  height: 100%;
  box-sizing: border-box;
}
.event-overflow-container {
  height: 100%;
  overflow: hidden;
  position: relative;
}
.event-overflow-container .event-list {
  position: absolute;
  display: flex;
  align-items: flex-start;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
.event-overflow-container .list-item {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.h3-title {
  font-size: 3rem;
  line-height: 1;
  color: var(--dark-primary);
  font-family: 'Arial';
}
.list-p-container {
  flex: 1;
  margin-top: 2.9rem;
}
.list-p-container .list-p {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  line-height: 3.6rem;
  color: var(--text-color-1);
  cursor: pointer;
}
.list-p-container .list-p span {
  transform-origin: left;
  transition: all 0.3s ease-in-out;
}
.list-p-container .svg-container {
  margin-right: 0.9rem;
}
.list-p-container .svg-container > svg {
  fill: var(--red-primary);
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}
.list-p-container .list-p:hover {
  color: var(--red-primary);
}
.list-p-container .list-p:hover span {
  transform: scale(1.05);
}
/* 时间线 */
.event-line-container {
  margin-top: 5.1rem;
  display: flex;
  align-items: center;
  z-index: 200;
  --line-bg-color: #DFE5EC;
}

.line-list-container {
  flex: 1;
  position: relative;
  margin: 0 0.8rem;
  display: flex;
  align-items: center;
}
.line-list-container .absolute-line {
  position: absolute;
  width: 100%;
  height: 1.2rem; /* 线条高度,与下面dot-round-small一致 */
  background: var(--line-bg-color);
  border-radius: 2rem;
}
.line-list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.line-list > .list-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.dot-round {
  position: relative;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--line-bg-color);
  display: flex;
}
.dot-round-small {
  position: relative;
  margin: auto;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: var(--font-color-3);
  transition: background-color 0.3s ease-in-out;
}

.dot-text {
  position: absolute;
  top: 2.6rem;
  font-size: 2.4rem;
  font-family: "Arial";
  line-height: 1.2;
  color: var(--font-color-3);
  transition: color 0.3s ease-in-out;
}

/* 选中的样式 */
.line-list .item-active .dot-round-small,
.line-list > .list-item:hover .dot-round-small {
  background-color: var(--red-primary);
}
.line-list .item-active .dot-round-small::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  bottom: -10px;
  right: -10px;
  background: var(--red-primary);
  border-radius: 50%;
  z-index: 2;
}
.line-list .item-active .dot-round-small::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: var(--red-primary);
  border-radius: 50%;
  outline: 5px solid var(--white-primary);
  z-index: 5;
}
.line-list .item-active > .dot-text,
.line-list > .list-item:hover > .dot-text {
  color: var(--red-primary);
}
/* 按钮 */
.event-line-container button {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: var(--line-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}
.event-line-container button:hover {
  background: var(--red-primary);
}
.event-line-container button > svg {
  height: 1.6rem;
  fill: var(--white-primary);
}
/* 底部装饰 */
.bottom-decoration {
  width: 153rem;
  height: 14.6rem;
  margin: 0 auto;
}
.bottom-decoration > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 弹窗 */
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  visibility: hidden;
}
.popup-show {
  visibility: visible;
}
.popup-content {
  margin: auto;
  width: 60%;
  min-height: 25rem;
  background: var(--white-primary);
  border-radius: 2.4rem;
  padding: 6rem 8rem;
}
.popup-title {
  font-size: 2.6rem;
  text-align: center;
}
.popup-desc {
  margin-top: 3.8rem;
  font-size: 2rem;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 768px) and (max-width: 1280px) {
  .section-container-padding {
    padding: 5rem 12rem 0 12rem;
  }
  .left-img-container {
    width: 40rem;
  }
  .dot-text {
    top: 4rem;
  }
}

@media screen and (max-width: 767px) {
  /* 父容器，padding */
  .article-content {
    /* 红色 */
    --img-container-border-raidus: 0.5rem;
    padding-bottom: 0;
  }
  .border-radius {
    border-radius: 0.5rem; 
  }
  /* 关于麒麟 */
  .section-about-container {
    display: block;
    padding: 0.75rem 0.75rem 1.25rem 0.75rem;
  }
  .content-1 {
    flex-direction: column;
    margin-top: 20px;
  }

  .left-img-container {
    height: 9.075rem;
    width: 100%;
  }

  .right-content-container {
    margin: 1.25rem 0 0 0;
    padding: 0;
  }

  .section-title {
    font-size: 0.75rem;
    line-height: 1.15rem;
  }
  .section-title2 {
    display: block; 
    margin: 0 0 1.75rem 0;
    text-align: center;
    color: #fff;
  }
  .section-title3 {
    display: none;
  }
  .section-title4 {
    color: var(--black-light-4);
  }
  .desc-container {
    margin-top: 0.75rem;
    font-size: 0.65rem;
    line-height: 1rem;
  }

  .desc-container>p+p {
    margin-top: 0.35rem;
  }

  /* 麒麟实力 */
  .section-strenth-container {
    margin-top: 1.25rem;
    padding: 2.25rem 0 0 0;
    height: auto;
    padding: 0;
  }

  .section-strenth-content {
    width: auto;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
  }

  .overflow-container {
    padding-right: 0.5rem;
  }

  /* 滚动条样式 */
  .overflow-container::-webkit-scrollbar {
    width: 0.4rem;
    height: 0.4rem;
  }

  /* 麒麟大事记 */
  .section-event-container {
    margin-top: 1.25rem;
    padding-bottom: 0;
  }

  .section-event-content {
    flex-direction: column-reverse;
    margin-top: 1.25rem;
    height: auto;
  }

  .event-img-container {
    width: 100%;
    transform: translateY(0);
  }

  .event-content-container {
    width: 100%;
    margin: 0 0 0 0;
    padding: 0.75rem;
    height: auto;
  }

  .event-overflow-container {
    min-height: 12.5rem;
  }
  .event-overflow-container .list-item {
    display: block;
  }
  
  .h3-title {
    font-size: 0.9rem;
    line-height: 1rem;
  }

  .list-p-container {
    margin-top: 1rem;
  }

  .list-p-container .list-p {
    margin: 0 0 0.25rem 0;
    font-size: 0.7rem;
    line-height: 1rem;
  }


  /* 时间线 */
  .event-line-container {
    margin-top: 1.25rem;
  }

  .line-list-container {
    margin: 0 0.25rem;
  }

  .line-list-container .absolute-line {
    height: 0.2rem;
    border-radius: 0.5rem;
  }

  .dot-round-small {
    width: 0.6rem;
    height: 0.6rem;
  }

  .dot-round {
    position: relative;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--line-bg-color);
    display: flex;
  }

  .dot-text {
    position: absolute;
    top: 30px;
    font-size: 16px;
    line-height: 1;
  }


  /* 按钮 */
  .event-line-container button {
    width: 1.25rem;
    height: 1.25rem;
  }
  .event-line-container button>svg {
    height: 0.5rem;
  }

/* 底部装饰 */
  .bottom-decoration {
    width: 100%;
    height: auto;
    margin: 30px auto 0 auto;
  }
  
  /* 弹窗 */
  .popup-content {
    width: 80%;
    min-height: 6.25rem;
    border-radius: 1.2rem;
    padding: 1.5rem 2rem;
  }
  .popup-title {
    font-size: 0.9rem;
  }
  .popup-desc {
    margin-top: 0.75rem;
    font-size: 0.7rem;
    line-height: 1.6;
  }
}
