@media (min-width: 701px) {
  #kf.container2 {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 100px max(48px, calc((100% - 1520px) / 2));
    background:
      linear-gradient(90deg, rgba(0, 59, 112, 0.04) 1px, transparent 1px),
      #ffffff;
    background-size: 52px 52px;
  }

  #kf .online_cont {
    max-width: 1520px;
    margin: 0 auto;
  }

  #kf .online_cont .title {
    margin: 0 auto 50px;
    text-align: center;
  }

  #kf .online_cont .title p {
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
    color: #5f6d78;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0;
  }

  #kf .online_cont .title p:nth-child(1) {
    position: relative;
    margin-bottom: 16px;
    padding-top: 20px;
    color: #071827;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: none;
  }

  #kf .online_cont .title p:nth-child(1)::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 44px;
    height: 4px;
    background: linear-gradient(90deg, #00ae55 0 65%, #fca823 65%);
    content: '';
    transform: translateX(-50%);
  }

  #kf .online_cont ul {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }

  #kf .online_cont ul li {
    min-width: 0;
    padding: 28px 16px 24px;
    border: 1px solid #dce4e8;
    border-radius: 4px;
    background: rgba(244, 247, 246, 0.8);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  }

  #kf .online_cont ul li:hover {
    border-color: rgba(0, 174, 85, 0.5);
    box-shadow: 0 18px 42px rgba(5, 35, 56, 0.1);
    transform: translateY(-4px);
  }

  #kf .online_cont ul li p:nth-child(1) {
    width: 112px;
    height: 112px;
    margin: 0 auto;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #eaf0f3;
    box-shadow: 0 8px 24px rgba(4, 40, 66, 0.13);
  }

  #kf .online_cont ul li p:nth-child(1) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #kf .online_cont ul li p:nth-child(2) {
    margin: 17px 0 14px;
    color: #071827;
    font-size: 15px;
    font-weight: 700;
  }

  #kf .online_cont ul li p:nth-child(3) {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
  }

  #kf .online_cont ul li p:nth-child(3) span,
  #kf .online_cont ul li p:nth-child(3) span:nth-child(2) {
    width: auto;
    margin: 0;
    padding: 0;
    border-radius: 3px;
    background: #00ae55;
  }

  #kf .online_cont ul li p:nth-child(3) span:nth-child(2) {
    background: #003b70;
  }

  #kf .online_cont ul li p:nth-child(3) span a {
    display: flex;
    min-width: 84px;
    min-height: 34px;
    padding: 7px 9px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
  }

  #kf .online_cont ul li p:nth-child(3) span a i {
    margin-right: 5px;
  }

  .zw {
    height: 0;
  }

  html body #online_qq_layer {
    right: 24px !important;
    bottom: 130px !important;
  }

  html body .dibu {
    min-height: 600px;
    padding-top: 78px;
    background-image:
      linear-gradient(90deg, rgba(2, 19, 34, 0.97) 0%, rgba(2, 19, 34, 0.88) 42%, rgba(0, 42, 74, 0.65) 100%),
      linear-gradient(180deg, rgba(1, 13, 24, 0.14), rgba(1, 13, 24, 0.88)),
      url('images/footer-energy-campus.webp') !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .dibu::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 174, 85, 0.06), transparent 28%);
    content: '';
    pointer-events: none;
  }

  .dibu::after {
    display: none;
  }

  .dibu .bls {
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    z-index: 2;
    opacity: 0.34;
  }

  .dibu .waves {
    height: 54px;
  }

  .dibu .footer.container2,
  .dibu .footer2.container2 {
    width: calc(100% - 96px);
    max-width: 1520px;
  }

  .dibu .footer {
    padding-top: 62px;
    padding-bottom: 38px;
  }

  .dibu .footer-l {
    width: 27%;
    padding-right: 52px;
  }

  .dibu .footer-l .logo {
    max-width: 218px;
  }

  .dibu .footer-l p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
  }

  .dibu .footer-r {
    width: 68%;
    gap: 42px;
  }

  .dibu .footer-r ul h3 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 650;
  }

  .dibu .footer-r ul h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 3px;
    background: linear-gradient(90deg, #00ae55 0 70%, #fca823 70%);
    content: '';
  }

  .dibu .footer-r ul li a,
  .dibu .footer-r ul p,
  .dibu .footer-r .Contacts a {
    color: rgba(255, 255, 255, 0.74);
  }

  .dibu .footer-r ul li a:hover,
  .dibu .footer-r .Contacts a:hover {
    color: #7ee8ae;
  }

  .dibu .footer2 {
    position: relative;
    z-index: 1;
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.56);
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  @media (max-width: 1179px) {
    #kf.container2 {
      padding-right: 32px;
      padding-left: 32px;
    }

    #kf .online_cont ul {
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 10px;
    }

    #kf .online_cont ul li {
      padding-right: 8px;
      padding-left: 8px;
    }

    #kf .online_cont ul li p:nth-child(1) {
      width: 92px;
      height: 92px;
    }

    #kf .online_cont ul li p:nth-child(3) span a {
      min-width: 74px;
      padding-right: 7px;
      padding-left: 7px;
      font-size: 9px;
    }

    .dibu .footer.container2,
    .dibu .footer2.container2 {
      width: calc(100% - 64px);
    }

    .dibu .footer-l {
      width: 25%;
      padding-right: 30px;
    }

    .dibu .footer-r {
      width: 72%;
      gap: 22px;
    }
  }

  @media (max-width: 900px) {
    html body #online_qq_layer {
      display: none !important;
    }

    #kf.container2 {
      padding: 82px 20px;
    }

    #kf .online_cont .title p:nth-child(1) {
      font-size: 38px;
    }

    #kf .online_cont ul {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #kf .online_cont ul li:nth-child(4),
    #kf .online_cont ul li:nth-child(5) {
      grid-column: span 1;
    }

    .dibu .footer.container2,
    .dibu .footer2.container2 {
      width: calc(100% - 40px);
    }

    .dibu .footer-l,
    .dibu .footer-r {
      width: 100%;
    }

    .dibu .footer-l {
      padding: 0 0 36px;
    }
  }
}
