/* dn.css - DN页面横幅样式，参考tsc.css */
.dn-banner {
    margin-top: 86px;
    position: relative;
    width: 100%;
    height: 470px;
    overflow: hidden;
}

.dn-banner img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.dn-banner-text {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
    text-align: left;
    color: #f2f2f2;
    z-index: 2;
}

.dn-banner-text span {
    font-size: 50px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 内容区块样式 */
.dn-content {
    width: 100%;
    padding: 40px 0 20px 0;
}

.dn-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.dn-content-title {
  font-size: 30px;
  font-weight: 400;
    color: #222;
    margin-bottom: 48px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.dn-content-text {
    font-size: 22px;
    font-weight: 250;
    color: #333;
    line-height: 1.8;
    text-align: left;
    max-width: 1400px;
    margin: 0 auto;
}

/* 内容区块卡片网格样式 */
.dn-content .dn-card-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 700px);
    gap: 40px;
    margin: 40px auto 0 auto;
    max-width: 1440px;
    justify-content: center;
}

.dn-content .dn-card-block {
    width: 700px;
    height: 240px;
    background: #fff;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 32px 24px 32px;
}

.dn-content .dn-card-title {
    font-size: 28px;
    font-weight: 450;
    color: #4d8fff;
    text-align: left;
    padding-left: 0;
    margin-bottom: 18px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dn-content .dn-card-divider {
    width: 100%;
    height: 2px;
    background: #4d8fff;
    margin-bottom: 18px;
    border-radius: 2px;
}

.dn-content .dn-card-desc {
    font-size: 20px;
    font-weight: 250;
    color: #222;
    text-align: left;
    line-height: 1.8;
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
    word-break: break-all;
}

/* 三列卡片区块样式 参考tsx.css */
.dn-section {
  width: 100%;
  padding: 50px 0 0 0;
}
.dn-section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.dn-section-title {
  font-size: 30px;
  font-weight: 400;
  color: #222;
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.2;
}
.dn-card-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 460px);
  gap: 30px;
  margin: 40px auto 0 auto;
  max-width: 1410px;
  justify-content: center;
}
.dn-card-block {
  border-radius: 30px !important;
  width: 460px;
  height: 290px;
  background: #fff;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  margin: 0 auto 15px auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 32px 24px 32px;
}
.dn-card-title {
  font-size: 28px;
  font-weight: 450;
  color: #4d8fff;
  text-align: left;
  padding-left: 0;
  margin-bottom: 18px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dn-card-divider {
  width: 100%;
  height: 2px;
  background: #4d8fff;
  margin-bottom: 18px;
  border-radius: 2px;
}
.dn-card-desc {
  font-size: 20px;
  font-weight: 250;
  color: #222;
  text-align: left;
  line-height: 1.8;
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  word-break: break-all;
}

/* Section卡片网格样式 */
.dn-section-card-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 700px);
  gap: 40px;
  margin: 40px auto 0 auto;
  max-width: 1440px;
  justify-content: center;
}

.dn-section-card-block {
  width: 700px;
  height: 240px;
  background: #fff;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  margin: 0 auto 40px auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 32px 24px 32px;
}

.dn-section-card-title {
  font-size: 28px;
  font-weight: 450;
  color: #4d8fff;
  text-align: left;
  padding-left: 0;
  margin-bottom: 18px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dn-section-card-divider {
  width: 100%;
  height: 2px;
  background: #4d8fff;
  margin-bottom: 18px;
  border-radius: 2px;
}

.dn-section-card-desc {
  font-size: 20px;
  font-weight: 250;
  color: #222;
  text-align: left;
  line-height: 1.8;
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  word-break: break-all;
}
@media screen and (max-width: 600px) {
  .dn-card-block {
    border-radius: 30px !important;
    width: 98%;
    height: auto;
    padding: 20px 8px 16px 8px;
  }
  .dn-card-title {
    font-size: 18px;
  }
  .dn-card-desc {
    font-size: 16px;
  }
  .dn-card-divider {
    height: 2px;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 1500px) {
  .dn-card-grid {
    max-width: 100vw;
  }
}
@media screen and (max-width: 1000px) {
  .dn-card-grid {
    grid-template-columns: 1fr;
    max-width: 98vw;
    gap: 16px;
  }
  .dn-card-block {
    width: 98vw;
    min-width: 0;
    height: auto;
  }
  
  .dn-section-card-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 30px;
  }
  
  .dn-section-card-block {
    width: 100%;
    max-width: 100%;
  }
}

/* 图片+标题三列区块，参考tsx.css scene-block */
.dn-scene-block {
  width: 100%;
  margin: 80px auto 0 auto;
  max-width: 1440px;
}

.dn-scene-title {
  font-size: 30px;
  font-weight: 400;
  color: #222;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.dn-scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 700px);
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 0;
}

.dn-scene-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dn-scene-img {
  width: 700px;
  height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dn-scene-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dn-scene-name-bg {
  width: 700px;
  height: 50px;
  background: #0455da;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  position: relative;
  top: 0;
}

.dn-scene-name {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (max-width: 1500px) {
  .dn-scene-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 30px;
  }
  .dn-scene-item,
  .dn-scene-img,
  .dn-scene-name-bg {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 800px) {
  .dn-scene-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dn-scene-img {
    height: 200px;
  }
  .dn-scene-name-bg {
    height: 40px;
  }
  .dn-scene-name {
    font-size: 18px;
  }
}
@media screen and (max-width: 1000px) {
  .dn-scene-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dn-scene-item, .dn-scene-img, .dn-scene-name-bg {
    width: 100vw;
    max-width: 100vw;
  }
}

@media screen and (max-width: 1366px) {
    .dn-banner-text span {
        font-size: 42px;
    }
    .dn-content-title {
        font-size: 24px;
    }
    .dn-content-text {
        font-size: 22px;
    }
    
    .dn-content .dn-card-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 30px;
    }
    
    .dn-content .dn-card-block {
        width: 100%;
        max-width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .dn-banner {
        margin-top: 60px;
        height: 300px;
    }
    .dn-banner img {
        height: 300px;
    }
    .dn-banner-text span {
        font-size: 28px;
    }
    .dn-content {
        padding: 80px 0 20px 0;
    }
    .dn-content-container {
        padding: 0 30px;
    }
    .dn-content-title {
        font-size: 20px;
        margin-bottom: 32px;
    }
    .dn-content-text {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .dn-content .dn-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .dn-content .dn-card-block {
        width: 100%;
        height: auto;
        padding: 20px 16px 16px 16px;
    }
    
    .dn-content .dn-card-title {
        font-size: 24px;
    }
    
    .dn-content .dn-card-desc {
        font-size: 18px;
    }
    
    .dn-section-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .dn-section-card-block {
        width: 100%;
        height: auto;
        padding: 20px 16px 16px 16px;
    }
    
    .dn-section-card-title {
        font-size: 24px;
    }
    
    .dn-section-card-desc {
        font-size: 18px;
    }
}
@media screen and (max-width: 520px) {
    .dn-banner-text span {
        font-size: 24px;
    }
    .dn-content {
        padding: 60px 0 40px 0;
    }
    .dn-content-container {
        padding: 0 20px;
    }
    .dn-content-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .dn-content-text {
        font-size: 16px;
        line-height: 1.5;
    }
} 