@media screen and (max-width: 1440px) {
}

@media screen and (max-width: 1366px) {
  .company-carousel .swiper-cs-button-prev {
    width: 40px;
    height: 40px;
    left: -40px;
  }
  .company-carousel .swiper-cs-button-next {
    width: 40px;
    height: 40px;
    right: -40px;
  }
}
@media screen and (max-width: 1200px) {
  .team-box-item .elementor-widget-text-editor {
    -webkit-line-clamp: 9;
  }
  body .single-term {
    padding: 0 5% !important;
  }
}

@media screen and (max-width: 1024px) {
  body .single-term {
    margin: 60px auto 60px auto !important;
    padding-top: 40px !important;
  }
  .detailpage-container {
    overflow: hidden;
  }
  .gallery-layout {
    position: relative;
  }
  .gallery-title-wrapper{display: flex;align-items: center;justify-content: space-between;}
  .gallery-view-inmobile{display: block;color:#141414;font-weight: 400;font-size: 14px;text-decoration: underline;}
  .case-view {
    display: none;
  }
  .case-content {
    padding: 20px;
  }
  .case-title {
    font-size: 24px;
  }
  .case-excerpt {
    font-size: 14px;
  }
  .case-excerpt p:last-child {
    margin-bottom: 0;
  }
  .archive-description {
    font-size: 14px;
  }
  .archive-title {
    margin-bottom: 12px;
  }
  .cases-list {
    gap: 24px;
  }
  .case-item {
    width: calc(50% - 12px);
  }
  .company-carousel .swiper-cs-button-prev {
    display: none;
  }
  .company-carousel .swiper-cs-button-next {
    display: none;
  }

  .header-right {
    width: auto !important;
  }
}

@media screen and (max-width: 767px) {
  .h-intro-button a {
    font-size: 18px;
  }
  .contactForm-groupBox {
    flex-direction: column;
    gap: 24px;
  }
  .contactForm-groupBox .contactForm-box {
    width: 100%;
  }
  body .service-virtual .photo-sphere-viewer {
    height: 350px !important;
  }

  .contactForm-box--textarea .contactForm-box--title { width: 40%; }
}

@media screen and (max-width: 600px) {
  .h-intro-button a {
    font-size: 16px;
    font-weight: 400;
  }
  .detailpage-container {
    padding: 80px 0 40px 0 !important;
  }
  .case-item {
    width: 100%;
  }
  .team-box-info {
    padding: 20px;
  }
  body .service-virtual .photo-sphere-viewer {
    height: 300px !important;
  }
}

@media screen and (max-width: 500px) {
  .h-intro-button a {
    font-size: 14px;
  }
  .menu-policy .hfe-nav-menu > li {
    margin: 0 10px !important;
  }
  .h-box-button a {
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #000;
  }
  .contactForm-box--textarea {
    flex-direction: column;
  }
  .contactForm-box--fileupload {
    align-items: start;
  }
  .contactForm-box--textarea .contactForm-box--input {
    width: 100%;
  }
  .contactForm-info--title {
    font-size: 20px;
  }
  body .service-virtual .photo-sphere-viewer {
    height: 250px !important;
  }
  .contactForm-box--fileupload {
    background: none;
    padding: 0;
  }
  .contactForm-box--textarea .contactForm-box--input{background: #f5f5f5;}
  .custom-file p{justify-content: space-between; width: 100%; padding: 6px;}
}
