.solution-page {
  background: #ffffff;
}

.solution-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: url("../img/solutions/hero-bg1.png") center / cover no-repeat;
  color: #ffffff;
}

.medical-page .solution-hero {
  background-image: url("../img/solutions/hero-bg3.png");
}

.traffic-page .solution-hero {
  background-image: url("../img/solutions/hero-bg4.jpg");
}

.education-page .solution-hero {
  background-image: url("../img/solutions/hero-bg2.png");
}

.manufacturing-page .solution-hero {
  background-image: url("../img/solutions/hero-bg5.png");
}

.operator-page .solution-hero {
  background-image: url("../img/solutions/hero-bg6.png");
}

.solution-hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(520px, 58vw);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0));
  content: "";
}

.solution-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(var(--section-max), calc(100% - 178px));
  min-height: 560px;
  margin: 0 auto;
}

.solution-hero-copy {
  width: min(920px, 100%);
  padding-top: 6px;
}

.solution-hero-copy h1 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(38px, 3.5vw, 50px);
  line-height: 1.18;
}

.solution-hero-copy p {
  width: min(880px, 100%);
  margin: 0;
  font-size: 20px;
  line-height: 1.72;
}

.solution-hero-copy p + p {
  margin-top: 2px;
}

.solution-needs {
  padding: 62px clamp(20px, 7vw, 98px) 92px;
  background: #ffffff;
}

.solution-section-heading {
  width: min(1000px, 100%);
  margin: 0 auto;
  text-align: center;
}

.solution-section-heading h2 {
  margin: 0;
  color: #333333;
  font-size: 32px;
  line-height: 1.35;
}

.solution-section-heading p {
  margin: 15px auto 0;
  color: #333333;
  font-size: 18px;
  line-height: 1.75;
}

.solution-needs .solution-section-heading {
  width: min(var(--section-wide-max), 100%);
}

.solution-needs .solution-section-heading p {
  width: 100%;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px 86px;
  width: min(var(--section-wide-max), 100%);
  margin: 74px auto 0;
}

.traffic-page .need-grid,
.education-page .need-grid,
.medical-page .need-grid,
.manufacturing-page .need-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
  width: min(var(--section-wide-max), 100%);
}

.manufacturing-page .need-card {
  grid-column: span 2;
}

.manufacturing-page .need-card p {
  max-width: 520px;
}

.manufacturing-page .solution-product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(var(--section-wide-max), 100%);
}

.manufacturing-page .solution-product-card {
  grid-column: span 2;
}

.manufacturing-page .solution-product-card:nth-child(n + 4) {
  grid-column: span 3;
}

.need-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.need-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffb526, #ff8800);
  box-shadow: 0 10px 22px rgba(255, 154, 0, 0.18);
}

.need-card:nth-child(2n) .need-icon {
  background: linear-gradient(135deg, #7cc7ff, #3097f4);
  box-shadow: 0 10px 22px rgba(48, 151, 244, 0.18);
}

.need-card:nth-child(3n) .need-icon {
  background: linear-gradient(135deg, #6be3a7, #22bd78);
  box-shadow: 0 10px 22px rgba(34, 189, 120, 0.18);
}

.need-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.need-card h3 {
  margin: 28px 0 0;
  color: #000000;
  font-size: 18px;
  line-height: 1.35;
}

.need-card p {
  max-width: 330px;
  margin: 15px 0 0;
  color: #555555;
  font-size: 14px;
  line-height: 1.75;
}

.solution-products {
  padding: 80px clamp(20px, 7vw, 98px) 86px;
  background: linear-gradient(180deg, #f0f6ff 0%, #eaf3ff 100%);
}

.bsg-section {
  padding: 78px clamp(20px, 7vw, 100px) 0;
  background: #ffffff;
}

.bsg-section .solution-section-heading {
  width: min(var(--section-wide-max), 100%);
}

.bsg-scenes {
  padding-bottom: 92px;
}

.bsg-scenes-image {
  display: block;
  width: min(var(--section-max), 100%);
  height: auto;
  margin: 52px auto 0;
  object-fit: contain;
}

.solution-products .solution-section-heading {
  width: min(var(--section-wide-max), 100%);
}

.solution-products .solution-section-heading p {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.solution-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(var(--section-max), 100%);
  margin: 48px auto 0;
}

.solution-product-card {
  position: relative;
  min-height: 228px;
  overflow: hidden;
  border: 1px solid rgba(190, 209, 239, 0.9);
  border-radius: 10px;
  background: #f8fbff url("../img/solutions/img-bg.png") center / 100% 100% no-repeat;
}

.solution-product-card img {
  position: absolute;
  right: -18px;
  bottom: -22px;
  z-index: 0;
  width: min(200px, 24%);
  height: auto;
  min-height: 0;
  object-fit: contain;
  opacity: 0.6;
  pointer-events: none;
}

.solution-product-copy {
  position: absolute;
  top: 47px;
  left: 40px;
  z-index: 1;
  width: min(70%, calc(100% - 80px));
}

.solution-product-copy h3 {
  margin: 0;
  color: #000000;
  font-size: 18px;
  line-height: 1.35;
}

.solution-product-copy p {
  margin: 10px 0 0;
  color: #555555;
  font-size: 14px;
  line-height: 1.75;
}

@media (min-width: 1600px) {
  .solution-hero-inner,
  .solution-product-grid,
  .ddi-hero-inner,
  .ddi-service-grid,
  .bsg-hero-inner,
  .bsg-feature-grid,
  .bsg-special-grid,
  .bsg-scene-line,
  .acdns-advantage-grid,
  .acdns-tabs,
  .acdns-scene-panel,
  .iptv-detail-hero-inner,
  .iptv-detail-intro-inner,
  .iptv-need-grid {
    width: min(var(--section-wide-max), calc(100% - 128px));
  }
}

@media (max-width: 1120px) {
  .solution-hero-inner,
  .ddi-hero-inner,
  .bsg-hero-inner,
  .iptv-detail-hero-inner {
    width: calc(100% - 48px);
  }

  .need-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 32px;
  }

  .solution-product-grid {
    grid-template-columns: 1fr;
  }

  .ddi-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iptv-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bsg-hero-inner {
    grid-template-columns: 1fr 0.72fr;
  }

  .iptv-detail-hero-inner,
  .iptv-detail-intro-inner {
    grid-template-columns: 1fr 0.72fr;
  }

  .bsg-feature-grid,
  .bsg-special-grid,
  .bsg-scene-line,
  .acdns-advantage-grid,
  .iptv-need-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cloud-native-security-page .bsg-special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ipam-page .bsg-feature-grid,
  .network-access-page .bsg-feature-grid,
  .ipv6-gateway-page .bsg-feature-grid,
  .httpdns-page .bsg-feature-grid,
  .ipam-page .acdns-advantage-grid,
  .ipv6-gateway-page .acdns-advantage-grid,
  .httpdns-page .acdns-advantage-grid,
  .network-access-page .acdns-advantage-grid,
  .intelligent-dns-page .acdns-advantage-grid,
  .dns-security-page .acdns-advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .solution-hero {
    min-height: 500px;
    background-size: cover;
  }

  .solution-hero-inner {
    width: calc(100% - 40px);
    min-height: 500px;
  }

  .ddi-hero {
    min-height: 500px;
    background-size: cover;
  }

  .ddi-hero-inner {
    width: calc(100% - 40px);
    min-height: 500px;
  }

  .bsg-hero {
    min-height: 0;
    background-size: cover;
  }

  .bsg-hero-inner,
  .iptv-detail-hero-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    min-height: auto;
    padding: 64px 0;
  }

  .bsg-hero-art,
  .iptv-detail-hero-art {
    justify-self: center;
  }

  .solution-hero-copy p {
    font-size: 16px;
  }

  .ddi-hero-copy p {
    font-size: 16px;
  }

  .bsg-hero-copy p {
    font-size: 16px;
  }

  .iptv-detail-hero-copy p,
  .iptv-detail-intro-copy p {
    font-size: 16px;
  }

  .solution-needs,
  .solution-products,
  .ddi-services {
    padding-block: 52px;
  }

  .bsg-section,
  .iptv-detail-intro,
  .iptv-detail-needs {
    padding-top: 52px;
  }

  .iptv-detail-intro-inner {
    grid-template-columns: 1fr;
  }

  .iptv-value-page .iptv-detail-intro-inner {
    gap: 28px;
  }

  .solution-section-heading h2 {
    font-size: 26px;
  }

  .solution-section-heading p {
    font-size: 15px;
  }

  .need-grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .solution-product-copy {
    top: 32px;
    left: 24px;
    width: calc(100% - 48px);
  }
}

@media (max-width: 560px) {
  .solution-hero-inner,
  .ddi-hero-inner {
    width: calc(100% - 32px);
  }

  .solution-hero-copy h1 {
    font-size: 34px;
  }

  .ddi-hero-copy h1 {
    font-size: 34px;
  }

  .solution-needs,
  .solution-products,
  .ddi-services {
    padding-inline: 16px;
  }

  .ddi-service-grid {
    grid-template-columns: 1fr;
  }

  .iptv-service-grid {
    grid-template-columns: 1fr;
  }

  .bsg-feature-grid,
  .bsg-special-grid,
  .bsg-scene-line,
  .acdns-advantage-grid,
  .iptv-need-grid {
    grid-template-columns: 1fr;
  }

  .cloud-native-security-page .bsg-special-grid {
    grid-template-columns: 1fr;
  }

  .ipam-page .bsg-feature-grid,
  .network-access-page .bsg-feature-grid,
  .ipv6-gateway-page .bsg-feature-grid,
  .httpdns-page .bsg-feature-grid,
  .ipam-page .acdns-advantage-grid,
  .ipv6-gateway-page .acdns-advantage-grid,
  .httpdns-page .acdns-advantage-grid,
  .network-access-page .acdns-advantage-grid,
  .intelligent-dns-page .acdns-advantage-grid,
  .dns-security-page .acdns-advantage-grid {
    grid-template-columns: 1fr;
  }

  .ipam-scene-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ipam-scenario {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ipam-scenario-list {
    gap: 18px;
    font-size: 15px;
  }

  .httpdns-page .ipam-scenario-list {
    grid-template-columns: 1fr;
  }

  .iptv-need-card.wide {
    grid-column: span 1;
  }

  .acdns-tabs {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    border-bottom: 0;
  }

  .acdns-tabs.ipam-scene-tabs {
    gap: 32px;
  }

  .acdns-tabs span {
    padding-bottom: 4px;
  }

  .acdns-scene-panel {
    height: 420px;
    padding: 24px 18px 28px;
  }

  .ddi-card.wide {
    grid-column: span 1;
  }
}
