/* 解决方案——智慧铁路 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.smart_railway {
  width: 100%;
}

.smart_railway .item {
  width: 100%;
  overflow: auto;
}

.smart_railway .item .header {
  margin: 80px auto 0;
  width: 1400px;
  display: flex;
  align-items: flex-end;
}

.smart_railway .header span {
  font-size: 36px;
  color: #333;
  margin-right: 20px;
  font-weight: 550;
}

.smart_railway .header .s_right {
  height: auto;
  flex: 1;
  display: flex;
  align-items: center;
}

.smart_railway .header .s_right span:nth-of-type(1) {
  font-size: 20px;
  color: #999;
  font-weight: 500;
}

.smart_railway .header .s_right span:nth-of-type(2) {
  display: inline-block;
  flex: 1;
  height: 1px;
  background-color: #dbdbdb;
}

.smart_railway .overview .text {
  width: 1400px;
  margin: 60px auto 0;
  text-indent: 2em;
  letter-spacing: 5px;
  line-height: 2;
  color: #666;
  font-size: 18px;
  letter-spacing: 0;
}

/* 方案亮点 */
.smart_railway .advantage {
  width: 100%;
  background-color: #f3f8fe;
}

.smart_railway .wrapper {
  width: 1400px;
  margin: 60px auto 40px;
  display: flex;
}

.advantage .accordion-item {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 206px;
  height: 440px;
  margin-right: 20px;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  border-color: transparent !important;
  background-color: transparent !important;
}

.advantage .accordion-item:nth-last-child(1) {
  margin-right: 0;
}

.advantage .accordion-item .image1 {
  width: 100%;
  position: absolute;
  top: 0;
}

.advantage .accordion-item .image2 {
  display: none;
}

.advantage .accordion-item .title {
  color: #2473d9;
  font-size: 24px;
  position: relative;
  z-index: 2;
  writing-mode: vertical-rl;
  margin-top: 60px;
}

.advantage .accordion-item .num {
  font-size: 30px;
  color: #999;
  position: absolute;
  right: 20px;
  top: 20px;
}

.advantage .accordion-item .c_text {
  display: none;
}

.advantage .expanded {
  width: 500px;
  align-items: flex-start;
}

.advantage .expanded {
  width: 500px;
  align-items: flex-start;
}

.advantage .expanded .image1 {
  display: none;
}

.advantage .expanded .image2 {
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
}

.advantage .expanded .title {
  margin: 40px 40px 20px 40px;
  writing-mode: horizontal-tb;
}

.advantage .expanded .c_text {
  display: block;
  position: relative;
  z-index: 2;
  font-size: 16px;
  color: #666;
  margin-bottom: 12px;
  margin-left: 40px;
  margin-right: 40px;
  line-height: 2;
}

/* 应用场景 */
.smart_railway .scene .wrapper {
  margin-bottom: 0;
  height: 660px;
  border-radius: 8px;
  background: linear-gradient(to right, #f0f5ff, #fff);
  overflow: hidden;
}

.smart_railway .scene .tab_nav {
  display: flex;
  flex-direction: column;
  width: 440px;
}

.smart_railway .tab_nav .tab_link {
  height: 220px;
  padding-left: 90px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.smart_railway .tab_nav .tab_link span {
  margin-left: 14px;
  font-size: 24px;
  color: #666;
}

.smart_railway .tab_link img:nth-of-type(2) {
  display: none;
}

.smart_railway .tab_nav .tab_link_active {
  border-left: 2px solid #276af2;
  background: linear-gradient(to right, #c4d8ff, #f3f8fe00);
}

.smart_railway .tab_link_active img:nth-of-type(1) {
  display: none;
}

.smart_railway .tab_link_active img:nth-of-type(2) {
  display: block;
}

.smart_railway .tab_nav .tab_link_active span {
  color: #4379e0;
}

.smart_railway .scene .tab_content {
  flex: 1;
  padding: 20px;
}

.smart_railway .scene .tab_content .tab_pane {
  height: 100%;
  width: 100%;
  display: none;
}

.smart_railway .scene .tab_content .tab_pane_active {
  display: block;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
}

.smart_railway .scene .tab_content .tab_pane_active .img_box {
  position: relative;
}

.smart_railway .tab_pane_active .img_box span {
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 20px;
  color: #fff;
}

.smart_railway .scene .tab_content .img_box {
  width: 450px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.smart_railway .scene .tab_content .img_box img {
  object-fit: cover;
}

/* 相关案例 */
.smart_railway .case .wrapper {
  height: auto;
  margin-bottom: 20px;
  background-color: transparent;
  flex-wrap: wrap;
}

.smart_railway .case .list {
  width: 452px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  margin-right: 20px;
  margin-bottom: 20px;
}

.smart_railway .case .list:nth-child(3n),
.smart_railway.case .list:nth-last-child(1) {
  margin-right: 0;
}

.smart_railway .case .img_box {
  height: 280px;
  overflow: hidden;
}

.smart_railway .case .img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.smart_railway .case .img_box:hover img {
  transform: scale(1.1);
}

.smart_railway .case .content {
  width: 100%;
  padding: 20px 20px;
  font-size: 20px;
  color: #333;
  border: 1px solid #f1f1f1;
}

.smart_railway .content .title {
  margin-bottom: 16px;
  font-size: 18px;
}

.smart_railway .content .text {
  font-size: 14px;
  color: #666;
  margin: 0;
  margin-bottom: 30px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

.smart_railway .content .detail {
  width: 112px;
  height: 36px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #999;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.smart_railway .case .list .detail a {
  color: #999;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.smart_railway .case .list .detail img {
  margin-left: 6px;
}

.smart_railway .case .list .detail img:nth-of-type(2) {
  display: none;
}

.smart_railway .case .list .title:hover {
  color: #1877ff;
}

.smart_railway .case .list .detail:hover {
  border: 1px solid #1877ff;
}

.smart_railway .case .list .detail:hover a {
  color: #1877ff;
}

.smart_railway .case .list .detail:hover img:nth-of-type(1) {
  display: none;
}

.smart_railway .case .list .detail:hover img:nth-of-type(2) {
  display: block;
}

@media screen and (max-width: 1400px) {
  .smart_railway .item {
    width: 100%;
    overflow: auto;
    padding: 0 20px;
  }

  /* 方案架构 */
  .smart_railway .item .wrapper,
  .smart_railway .item .header {
    width: 100%;
  }

  .smart_railway .framework .wrapper img {
    width: 100%;
  }

  .smart_railway .overview .text {
    width: 100%;
  }

  .advantage .expanded img,
  .advantage .accordion-item img {
    height: 100%;
    object-fit: cover;
  }

  /* 应用场景 */
  .smart_railway .scene .tab_nav {
    width: 360px;
  }

  .smart_railway .scene .tab_nav .tab_link {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .smart_railway .scene .tab_content .img_box {
    width: 48%;
    height: 48%;
  }

  .smart_railway .scene .tab_content .img_box img {
    object-fit: cover;
  }

  /* 相关案例 */
  .smart_railway .case .wrapper {
    justify-content: flex-start;
  }

  .smart_railway .case .list {
    width: 31%;
  }
}

@media screen and (max-width: 1100px) {
  .smart_railway .advantage .wrapper {
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
  }

  .advantage .accordion-item .num {
    right: 10px;
    top: 10px;
  }

  .smart_railway .advantage .accordion-item {
    margin-bottom: 20px;
    width: 21%;
  }

  .smart_railway .advantage .expanded {
    width: 48%;
  }

  .smart_railway .scene .wrapper {
    height: auto;
  }

  .smart_railway .scene .tab_nav {
    width: 260px;
  }

  .smart_railway .scene .tab_nav .tab_link {
    height: 180px;
  }

  /* .smart_railway .scene .tab_pane img {
        height: 48%;
    } */
}

@media screen and (max-width: 767px) {
  .smart_railway .item .header {
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .smart_railway .header span {
    font-size: 18px;
    margin: 0;
  }

  .smart_railway .overview .text {
    font-size: 14px;
  }

  .smart_railway .header .s_right span:nth-of-type(1) {
    font-size: 14px;
  }

  .smart_railway .header .s_right span:nth-of-type(2) {
    display: none;
  }

  .smart_railway .wrapper {
    margin: 30px auto 40px;
  }

  .smart_railway .overview .text {
    margin: 30px auto 0;
  }

  /* 方案亮点 */
  .smart_railway .advantage .expanded {
    margin-right: 20px;
    width: 47%;
  }

  .smart_railway .advantage .expanded:nth-of-type(2n),
  .smart_railway .advantage .expanded:nth-last-of-type(1) {
    margin-right: 0;
  }

  .advantage .accordion-item .title {
    font-size: 18px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .advantage .expanded .c_text {
    font-size: 14px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .advantage .accordion-item .num {
    font-size: 18px;
  }

  /* 应用场景 */
  .smart_railway .scene .wrapper {
    flex-direction: column;
    background: linear-gradient(to top, #f0f5ff, #fff);
    background: #f0f5ff;
  }

  .smart_railway .scene .tab_nav {
    width: 100%;
    flex-direction: row;
    display: flex;
  }

  .smart_railway .scene .tab_nav .tab_link {
    flex: 1;
    flex-direction: column;
  }

  .smart_railway .scene .tab_nav .tab_link img {
    width: 48px;
    margin-bottom: 10px;
  }

  .smart_railway .tab_nav .tab_link span {
    font-size: 18px;
    margin: 0;
  }

  .smart_railway .tab_nav .tab_link_active {
    border-color: transparent;
    border-bottom: 2px solid #276af2;
    background: linear-gradient(to bottom, #c4d8ff, #f3f8fe00);
  }

  .smart_railway .tab_pane_active .img_box span {
    font-size: 14px;
  }

  .smart_railway .scene .tab_content img:nth-child(1),
  .smart_railway.scene.tab_content img:nth-child(2) {
    margin-bottom: 20px;
  }

  .smart_railway .tab_pane_active .img_box span {
    bottom: 40px;
  }

  /* 相关案例 */
  .smart_railway .case .wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .smart_railway .case .wrapper .list {
    width: 47%;
    margin-right: 20px !important;
  }

  .smart_railway .case .img_box {
    height: 240px;
  }
  .smart_railway .case .wrapper .list:nth-of-type(2n),
  .smart_railway .case .wrapper .list:nth-last-of-type(1) {
    margin-right: 0 !important;
  }

  .smart_railway .case .content .title {
    font-size: 18px;
  }

  .smart_railway .case .content .text {
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  /* 方案亮点 */

  .advantage .accordion-item {
    margin-right: 10px;
  }

  .smart_railway .advantage .expanded {
    width: 100%;
    height: 400px;
    margin-right: 0;
  }

  /* 相关案例 */
  .smart_railway .case .wrapper .list {
    width: 100%;
    margin-right: 0 !important;
  }

  .smart_railway .scene .tab_content {
    flex-direction: column;
  }

  .smart_railway .scene .tab_content .img_box {
    width: 100%;
    height: 240px;
    margin-bottom: 20px;
  }

  .smart_railway .tab_pane_active .img_box span {
    bottom: 20px;
  }
}

@media screen and (max-width: 400px) {
  /* 应用场景 */
  .smart_railway .tab_nav .tab_link span {
    font-size: 14px;
    text-align: center;
  }

  .smart_railway .scene .tab_nav .tab_link img {
    width: 28px;
  }

  .smart_railway .scene .tab_nav .tab_link {
    height: 140px;
  }
}
