@media only screen and (max-width: 1199px) {
  .flat-sidebar .homeya-box.list-style-2 .images-style {
    width: 300px;
  }
}

@media only screen and (max-width: 991px) {
  .flat-sidebar .homeya-box.list-style-2 .images-style {
    width: 250px;
  }
}

@media only screen and (max-width: 767px) {
  .flat-tab-form .nav-tab-form .nav-link-item {
    padding: 12px 20px;
    font-size: 14px;
  }

  .flat-sidebar .homeya-box.list-style-2 .images-style {
    width: 100%;
  }
  .homeya-box.list-style-2 {
    display: grid;
  }
  .homeya-box .images-group,
  .homeya-box.list-style-2 .content,
  .homeya-box.list-style-2 .agency-group .logo-wrapper {
    order: 1;
  }
  .homeya-box.list-style-2 .agency-group {
    justify-content: space-between;
    flex-direction: row;
    padding: 10px 20px;
    display: flex;
    width: 100%;
    order: 0;
  }
  .homeya-box.list-style-2 .agency-group .agency-name,
  .homeya-box.list-style-2 .agency-group .contact-agent {
    display: none;
  }
  .homeya-box.list-style-2 .agency-group .logo-wrapper {
    border: 0;
    padding: 0;
  }
  .homeya-box.list-style-2 .agency-group .agency-logo.round {
    border-radius: 50%;
    overflow: hidden;
  }
  .homeya-box.list-style-2 .agency-group .agent-details {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    display: flex;
    gap: 10px;
  }
  .homeya-box.list-style-2 .agency-group .agent-details p {
    font-size: 18px;
  }
  .homeya-box.list-style-2 .agency-group .agency-logo.round img,
  .homeya-box.list-style-2 .agency-group .agent-details .avatar {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }
  .homeya-box .content .archive-bottom.price-wrapper {
    justify-content: center !important;
    font-size: 22px;
  }
}

@media only screen and (max-width: 479px) {
  .flat-tab-form .nav-tab-form .nav-link-item {
    padding: 10px 15px;
    font-size: 12px;
  }
}

@media only screen and (max-width: 399px) {
  .flat-tab-form .nav-tab-form .nav-link-item {
    padding: 8px 12px;
    font-size: 11px;
  }
}

@media only screen and (max-width: 359px) {
  .flat-tab-form .nav-tab-form .nav-link-item {
    padding: 8px 10px;
    font-size: 10px;
  }
}
