@media screen and (max-width: 1440px) {
  .nav {
    padding: 12px 40px;
  }

  .hero {
    padding: 70px 40px;
  }

  .news {
    padding: 0 40px;
  }

  .about {
    padding: 0 40px;
  }

  .contact {
    padding: 80px 40px;
  }

  .footer {
    padding: 50px 40px;
  }

  .news_detail {
    padding: 40px 40px 80px;
  }

  .error {
    padding: 80px 40px;
  }

  .lk {
    padding: 60px 40px;
  }
}

@media screen and (max-width: 1140px) {
  .lk {
    .news-content-item-down-item {
      flex-direction: column;
      align-items: start;
      gap: 10px;
    }
  }
}

@media screen and (max-width: 1040px) {
  .nav {
    padding: 12px 20px;
  }

  .hero {
    padding: 70px 20px;
  }

  .news {
    padding: 0 20px;
  }

  .about {
    padding: 0 20px;
  }

  .contact {
    padding: 80px 20px;
  }

  .footer {
    padding: 50px 20px;
  }

  .news_detail {
    padding: 40px 20px 60px;
  }

  .error {
    padding: 80px 20px;
  }

  .lk {
    padding: 60px 20px;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-left {
    justify-content: flex-start;
    flex-direction: row;
    align-items: flex-end;
    max-width: 100%;
    gap: 20px;
  }

  .contact-right {
    max-width: 100%;
  }

  .news-wrapper {
    gap: 30px;
  }

  .about-content {
    gap: 30px;
  }

  .news-bar {
    min-width: 280px;
  }

  .footer-wrapper-item {
    max-width: 33%;

    &:nth-child(2) {
      max-width: 33%;
    }
  }

  .footer-wrapper {
    gap: 30px;
  }

  .footer-item-text {
    text-wrap: nowrap;
  }

  .about-tab-wrapper {
    flex-wrap: wrap;
  }

  .news-bar-cat-btn {
    padding: 15px 10px;
  }

  .popup {
    max-width: calc(100% - 40px);
  }

  .about-content-item-text {
    p {
      span {
        text-wrap: nowrap;
      }

      a {
        text-wrap: nowrap;
      }
    }
  }

  .popup-wrapper-form {
    min-width: 390px;
  }

  .zoomContainer {
    display: none !important;
  }

  #zoom_01 {
    display: none;
  }

  .zoom_02 {
    display: block;
  }

  .error-wrapper {
    gap: 40px;
  }
}

@media screen and (max-width: 900px) {
  .footer-wrapper {
    flex-wrap: wrap;
  }

  .footer-wrapper-item {
    max-width: calc(50% - 15px);

    &:nth-child(1) {
      max-width: 100%;
    }
  }

  .footer-wrapper-item {
    &:nth-child(2) {
      max-width: calc(50% - 15px);
    }

    &:nth-child(3) {
      display: flex;
      justify-content: flex-end;
      align-items: flex-end;
    }
  }

  .error {
    height: auto;
  }

  .error-wrapper {
    flex-direction: column;
  }

  .table {
    margin-bottom: 20px;

    &.feedback {
      .table-header-item {
        padding: 10px;

        font-family: var(--font-family);
        font-weight: 600;
        font-size: 16px;
        line-height: 120%;
        color: #222;

        &:nth-child(1) {
          width: 20%;
        }

        &:nth-child(2) {
          width: 33%;
        }

        &:nth-child(3) {
          width: 27%;
        }

        &:nth-child(4) {
          width: 20%;
          text-align: center;
        }
      }

      .table-list-row-item {
        font-size: 15px;

        padding: 10px 7px;

        &:nth-child(1) {
          width: 20%;
        }

        &:nth-child(2) {
          width: 35%;
        }

        &:nth-child(3) {
          width: 27%;
        }

        &:nth-child(4) {
          width: 20%;
          text-align: center;
        }
      }
    }
  }
}

@media screen and (max-width: 840px) {
  .hero {
    padding: 20px 20px;
    position: relative;
    width: 100%;
    max-width: 100%;
  }

  .hero-box {
    height: auto;
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    width: 100%;
    max-width: calc(100% - 40px);
  }

  .hero-box-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
  }

  .hero-text {
    margin-bottom: 0;
  }

  .hero-btn {
    text-wrap: nowrap;
  }

  .news-wrapper {
    flex-direction: column;
  }

  .news-bar {
    width: 100%;
  }

  .news-bar {
    position: static;
    top: auto;

    max-width: none;
  }

  .contact-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-left-content {
    width: 60%;
  }

  #about-content-1 {
    flex-direction: column-reverse;
  }

  .about-content-legend {
    position: static;
    top: auto;
    width: 100%;
  }

  .about-content-legend-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .about-content-legend-list {
    width: 50%;
  }

  .about-content-map {
    max-width: 100%;
  }

  .nav-up {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 10px;

    .nav-up-item-btn {
      display: none;
    }
  }

  .nav-up-item-info {
    text-align: center;

    .nav-up-item-text {
      br {
        display: none;
      }
    }
  }

  .nav {
    padding: 10px 20px;
  }

  .nav-down-list {
    gap: 30px;
  }

  #about-content-2 {
    flex-direction: column;
  }

  #about-content-3 {
    flex-direction: column;
  }

  .about-content-item {
    width: 100%;
  }

  .news_detail-doc-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    max-width: calc(100% / 2 - 80px / 2);
    flex-basis: calc(100% / 2 - 80px / 2);
    flex-grow: 1;
    flex-shrink: 1;
  }

  .lk-nav-list {
    flex-direction: row;
  }

  .lk-nav-out-btn {
    display: none;
  }

  .lk {
    .news-title {
      padding: 0 10px;

      font-size: 26px;

      display: flex;
      justify-content: space-between;
      align-items: center;

      .page-up-content-right {
        display: none;
      }

      .lk-nav-out-btn {
        display: flex;
        font-size: 17px;
        width: auto;

        padding: 0 5px;

        text-align: left;
        justify-content: end;
      }
    }

    .news-bar {
      .page-up-content-right {
        display: flex;

        width: fit-content;
      }
    }
  }
}

@media screen and (max-width: 640px) {
  .hero-box {
    height: auto;
    position: static;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    backdrop-filter: blur(7px);
    background: #fff;
    border-radius: 25px 25px 0 0;
    padding: 25px 15px 20px 15px;
    margin-top: -20px;
  }

  .hero-box-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    margin-bottom: 60px;
    padding: 0;
    height: auto;
  }

  .hero-img {
    display: block;
    width: 100%;
    height: 260px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .news_detail-content {
    max-width: 100%;
  }

  .contact-right-form-input-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;

    .contact-right-form-input {
      max-width: 100%;
      width: 100%;
    }
  }
}

@media screen and (max-width: 600px) {
  .burger {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;

    font-weight: 500;
    font-size: 17px;
    color: #474747;
  }

  .nav-down-list {
    display: none;
  }

  .nav {
    padding: 10px 15px;
  }

  .news {
    padding: 0 15px;
  }

  .about {
    padding: 0 15px;
  }

  .contact {
    padding: 60px 15px;
  }

  .footer {
    padding: 40px 15px;
  }

  .popup {
    max-width: calc(100% - 30px);
  }

  .thanks {
    max-width: 320px;
  }

  .error {
    padding: 60px 15px;
  }

  .lk {
    padding: 60px 15px 50px;
  }

  .about-content-item {
    padding: 30px 20px;
  }

  .contact-right-form {
    padding: 30px 20px 20px 20px;
  }

  .contact-right-info {
    padding: 20px 20px 60px 20px;
  }

  .news_detail {
    padding: 40px 15px 60px;
  }

  .news_detail-doc-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    max-width: 100%;
    flex-basis: 100%;
    flex-grow: 1;
    flex-shrink: 1;
  }

  .popup-wrapper-img {
    display: none;
  }

  .popup-wrapper-form {
    width: 100%;
    padding: 30px 40px 20px 20px;
    max-width: 100%;
    min-width: auto;
  }

  .popup-wrapper {
    display: block;
  }

  .popup-wrapper-form-item {
    width: 100%;
  }

  .popup {
    z-index: 102;
  }

  .popup-close {
    z-index: 105;
    top: 15px;
    right: 10px;
  }

  .contact-left-content {
    width: 100%;
  }

  .error-wrapper-item {
    img {
      height: 200px;
    }
  }

  .lk {
    .news-content-item-down {
      flex-direction: column;

      gap: 20px;
      align-items: flex-start;
    }

    .lk-nav-list {
      width: 100%;

      overflow-x: auto;

      padding-bottom: 10px;
    }
  }
}

@media screen and (max-width: 520px) {
  .feedback_list-mobile {
    display: flex;
  }

  .table.feedback {
    display: none;
  }

  .form_profile-up-item {
    &.phone {
      flex-direction: column;
      align-items: start;
      gap: 10px;
    }
  }

  .form_profile-input {
    &.phone {
      width: 100%;
      max-width: 100%;
    }
  }

  .form_profile-up-item-flex-item {
    width: 100%;
  }

  .lk {
    padding: 50px 0;

    .news-content {
      padding: 0 10px;
    }

    .news-title {
      padding: 0 10px;

      font-size: 26px;

      display: flex;
      justify-content: space-between;
      align-items: center;

      .lk-nav-out-btn {
        display: flex;
        font-size: 17px;
        width: auto;

        padding: 0 5px;

        text-align: left;
        justify-content: end;
      }
    }

    .news-bar {
      padding-left: 10px;
    }
  }

  .desctop {
    display: none;
  }

  .mobile {
    display: block;
  }
}

@media screen and (max-width: 425px) {
  .news-content-item-down {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .news-content-item-down-item {
    display: none;
  }

  .news-content-item-down-item.mob {
    display: flex;

    margin-bottom: 20px;
  }

  .footer-wrapper-item {
    max-width: 100%;
  }

  .footer-wrapper-item {
    &:nth-child(2) {
      max-width: 100%;
    }

    &:nth-child(3) {
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
    }
  }

  .lk {
    padding: 50px 0;

    .news-content {
      padding: 0 10px;
    }

    .news-title {
      padding: 0 10px;

      font-size: 26px;

      display: flex;
      justify-content: space-between;
      align-items: center;

      .lk-nav-out-btn {
        display: flex;
        font-size: 17px;
        width: auto;

        padding: 0 5px;

        text-align: left;
        justify-content: end;
      }
    }

    .news-bar {
      padding-left: 10px;
    }

    .news-content-item-down-item {
      display: flex;
    }

    .news-content-item-text {
      font-size: 16px;
    }
  }
}