/* 0000px - INTERMEDIARY */

@media (max-width: 00em) {
  /*******************************/
  /*           GENERAL           */
  /*******************************/
}

/* 1320px - INTERMEDIARY */

@media (max-width: 82.5em) {
  :root {
    --SIDE-MARGIN: 2.5rem;
  }

  /*** PHOTO GALLERY SECTION ***/

  .obj-gallery-previews {
    width: 24.75rem;
  }

  .card-image {
    width: 12.05rem;
  }

  /*** CAREER SECTION ***/

  /* .section-career {
    padding: 5rem 0;
  } */

  /* .career-container {
    flex-direction: column;
  } */

  /*** BROKER PAGE ***/

  #broker-filters .broker-filters-container > .flex-col:nth-child(7) {
    display: none;
  }

  /*** BROKERS SECTION ***/

  .team-grid {
    grid-template-columns: 1fr 1fr 1fr;
    width: 58rem;
    margin: 0 auto;
  }

  .team-card {
    width: 18rem;
  }

  /*** BROKER INFO SECTION ***/

  .obj-right-block {
    width: 25rem;
  }

  .obj-broker-offset {
    width: 2rem;
  }

  #sticky_broker_container {
    width: unset;
  }
}

/* 1236px - INTERMEDIARY */

@media (max-width: 77.25rem) {
  /*** CAREER SECTION ***/
  .career-image {
    width: 100%;
    height: 25rem;
  }
}

/* 1200px - INTERMEDIARY */

@media (max-width: 75em) {
  /*** MENU SECTION ***/

  .menu-list {
    gap: 1.5rem;
  }

  /*** PHOTO GALLERY SECTION ***/
  .obj-gallery-previews {
    width: 19.5rem;
  }

  .card-image {
    width: 9.5rem;
    height: 8rem;
  }

  /*** FEATURES SECTION ***/

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /*** BROKER PAGE ***/

  #broker-filters .broker-filters-container > .flex-col:nth-child(5),
  #broker-filters .broker-filters-container > .flex-col:nth-child(6) {
    display: none;
  }

  /*** BROKER INFO SECTION ***/

  .obj-right-block {
    width: 20rem;
  }

  .obj-broker-big {
    width: 18.5rem;
  }

  .obj-broker-offset {
    width: 1.5rem;
  }
}

/* 1056px - INTERMEDIARY */

@media (max-width: 66em) {
  /*** BROKER PAGE ***/

  #broker-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

/* 1040px - INTERMEDIARY */

@media (max-width: 65em) {
  /*** MENU SECTION ***/

  .menu-list {
    gap: 1rem;
  }

  /*** PHOTO GALLERY SECTION ***/
  .obj-gallery-previews {
    width: 16.5rem;
  }

  .card-image {
    width: 8rem;
    height: 7rem;
  }

  /*** SEARCH FILTER SECTION ***/

  .hidden-mobile-filter {
    display: none;
  }

  .select-small {
    flex: none !important;
  }

  .object-search-btns-box {
    flex: 1;
  }

  #broker-filters .object-search-btns-box {
    max-width: unset;
    width: unset;
    justify-content: flex-start !important;
  }

  #middle-broker-filters .object-search-btns-box {
    max-width: unset;
    width: unset;
    justify-content: flex-start !important;
  }
  /*** BROKERS SECTION ***/

  .broker-container {
    gap: 3rem;
  }

  .broker-container picture {
    min-width: 20rem;
  }

  .broker-image {
    width: 20rem;
    height: 25rem;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    width: 39rem;
  }

  .team-card {
    width: 18.5rem;
  }

  /*** BROKER INFO SECTION ***/

  .obj-right-block {
    width: 17rem;
  }

  .obj-broker-big {
    width: 16rem;
  }

  .obj-broker-offset {
    width: 1rem;
  }

  .offer-price-form {
    width: 19rem;
  }

  /*** NEWS SECTION ***/

  .blog-container {
    align-items: center;
  }

  .blog-post-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    row-gap: 3rem;
  }
}

/* 930px - OFFER PROGRESS STEPS */

@media (max-width: 58.125em) {
  /*** MOBILE MENU ***/
  .upper-menu-container,
  .lower-menu-container {
    display: none;
  }

  .nav-wrapper {
    display: flex;
  }

  .step-count-container {
    gap: 1rem;
    align-items: flex-start;
  }
  .progress-step {
    flex-direction: column;
    width: 6rem;
    text-align: center;
  }

  /*** SEARCH FILTER SECTION ***/

  .section-object-filter {
    padding: 0.75rem 0;
  }

  /*** FOOTER SECTION ***/

  footer {
    gap: 3.5rem;
    padding: 4rem 0 3rem;
    margin: 0 var(--SIDE-MARGIN);
  }

  .footer-newsletter-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-newsletter-form {
    width: 100%;
    justify-content: space-between;
  }

  .footer-newsletter-form sl-input {
    flex: 1;
  }

  .footer-menu {
    gap: 2rem;
  }

  .footer-menu > li:nth-child(3) {
    display: list-item;
  }

  .footer-menu > li:nth-child(7) {
    display: none;
  }

  /*** BROKERS SECTION ***/

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 25rem;
    width: 100%;
  }

  .team-card {
    max-width: 25rem;
    width: 100%;
  }

  .hidden-broker-section {
    display: none !important;
  }

  /*** BROKER INFO SECTION ***/

  .obj-right-block {
    display: none;
  }

  .obj-broker-big {
    width: 20rem;
  }

  .offer-price-form {
    width: 25rem;
  }

  /*** BANK LINKS SECTION ***/

  .btn-bank-link {
    width: 15rem;
  }

  /*** PHOTO GALLERY SECTION ***/

  .obj-bottom-block {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 0.5rem;
    width: 100%;
  }

  .obj-gallery-div {
    margin: 0;
  }

  .obj-gallery-box {
    flex-direction: column;
  }

  .card-image {
    width: 6.75rem;
    height: 6.25rem;
  }

  .obj-gallery-previews {
    gap: 0;
    justify-content: space-evenly;
    width: 100%;
  }
}

/* 834px - TABLET BY DESIGN */

@media (max-width: 52.125em) {
  /*** HERO SECTION ***/

  .section-hero {
    padding: 1.5rem 1rem 0 1rem;
  }

  .hero-container {
    padding: 5rem 4rem;
  }

  .hero-information {
    gap: 1.75rem;
  }

  /*** NEW ADS SECTON ***/

  .section-new-ads {
    padding: 4rem 0;
  }

  /*** MARKETING SECTION ***/

  .section-marketing {
    padding: 0 1.25rem 0 1.25rem;
  }

  .marketing-container {
    padding: 0 2.5rem;
  }

  .marketing-content {
    padding: 2.5rem;
    width: 30rem;
  }

  /*** MARKETING SECTION 2 ***/

  .section-marketing.s-m--2 {
    padding: 0 1rem 3rem 1rem;
  }

  /*** SERVICE SECTION ***/

  .service-image {
    height: 20.75rem;
  }

  /*** FEATURES SECTION ***/

  .partners-row {
    column-gap: 2.5rem;
  }

  /*** SERVICE HEADER SECTION ***/

  .section-service-header {
    padding: 5rem 0 4.5rem 0;
  }

  .service-header-content {
    gap: 1.5rem;
  }

  /*** BROKERS SECTION ***/

  .broker-container {
    gap: 3rem;
  }

  /*** BROKER INFO SECTION ***/

  .offer-price-form {
    width: 20rem;
  }

  /*** PHOTO GALLERY SECTION ***/

  .card-image {
    width: 6.25rem;
    height: 5.5rem;
  }

  /*** BANK LINKS SECTION ***/

  .blog-container {
    padding: 0;
  }
}

/* 800px - INTERMEDIARY */

@media (max-width: 50em) {
  /*** SEARCH FILTER SECTION ***/

  .object-search-btns-box .btn-primary {
    width: auto;
  }

  /*** PHOTO GALLERY SECTION ***/

  .card-image {
    width: 6rem;
    height: 5.25rem;
  }

  .searches-flex {
    width: 100%;
  }
}

/* 748px - INTERMEDIARY */

@media (max-width: 46.75em) {
  /*** BREADCRUMBS ROW ***/

  .obj-gallery-container {
    margin: 0;
  }

  .section-obj-view {
    padding-top: 0;
  }

  .obj-breadcrumbs {
    padding: 0.6rem 1.5rem;
    background-color: var(--GRAY-50);
    border-bottom: 1px solid var(--GRAY-300);
    justify-content: space-between !important;
  }

  .breadcrumb-actions {
    min-width: 6rem;
  }

  .obj-gallery-box {
    margin: 2.5rem auto;
  }

  .nav-wrapper {
    padding: 0.685rem 1.5rem;
  }

  .obj-mobile-centered {
    justify-content: center;
  }

  /*** SEARCH FILTER SECTION ***/

  .section-object-filter {
    padding: 0.25rem 0;
  }

  .hidden-desktop-section {
    display: flex !important;
    justify-content: space-around;
    align-items: center;
  }

  .container-object-filter > *:not(:last-child) {
    flex: none !important;
  }

  .hidden-mobile-section {
    display: none !important;
  }

  /*** CONTAINER HEADER ***/

  .container-header {
    width: 35.75rem;
  }

  /*** HERO SECTION ***/

  .hero-search-row sl-select {
    flex: 1;
  }

  .hero-main-search-form-col:nth-child(2) {
    display: none;
  }

  /*** NEW ADS SECTION ***/

  .mobile-pagination {
    display: block;
  }

  .carousel-navigation {
    display: none;
  }

  /*** FEATURES SECTION ***/

  .features-grid {
    grid-template-columns: 1fr;
  }

  /*** FOOTER SECTION ***/

  .footer-menu-container {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-menu > li:nth-child(2) {
    display: list-item;
  }

  .footer-menu > li:nth-child(5) {
    display: none;
  }

  /*** FAQ SECTION ***/

  .faq-ask-question {
    width: 100%;
  }

  /*** BROKER PAGE ***/

  .broker-container {
    margin: 0 5rem;
    gap: 2rem;
  }

  .broker-container picture {
    min-width: 15rem;
  }

  .broker-image {
    width: 15rem;
    height: 18rem;
  }

  /*** BROKER INFO SECTION ***/

  .offer-price-form {
    width: 21rem;
    margin-bottom: 1rem;
  }

  .obj-broker-big {
    width: 21rem;
  }

  /*** PHOTO GALLERY SECTION ***/

  .photos-count-label {
    display: none;
  }
}

/* 712px - INTERMEDIARY */

@media (max-width: 44.5em) {
  .new-ad-card {
    width: 100%;
  }

  .new-ad-card-image {
    height: 18rem;
  }

  /*** NEWS SECTION ***/

  .blog-post-grid {
    grid-template-columns: 1fr;
    align-items: center;
    max-width: 24rem;
    margin: 0 auto;
  }

  .blog-post-card {
    height: auto;
    gap: 1rem;
  }
}

/* 640px - INTERMEDIARY */

@media (max-width: 40em) {
  /*** OFFER/CALCULATOR SECTION ***/

  .calculator-form {
    width: 100%;
  }

  /*** CONTAINER HEADER ***/

  .container-header {
    width: 25rem;
  }

  /*** PROGRESS STEPS SECTION ***/

  .step-count-container {
    gap: 0;
    justify-content: space-evenly;
  }

  .progress-step {
    width: 2.5rem;
  }

  .progress-step p {
    display: none;
  }

  /*** HERO SECTION ***/

  .section-hero {
    padding: 1rem 0.5rem 0 0.5rem;
  }

  .hero-container {
    padding: 3.5rem 1rem;
  }

  .hero-information {
    text-align: center;
    width: 100%;
  }

  .hero-stats-container {
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
  }

  .hero-stat-box {
    align-items: center;
    max-width: min-content;
  }

  .hero-stat-box span {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
  }

  .hero-main-search {
    padding: 1.5rem 1.25rem;
  }

  .hero-main-search-submit-row {
    flex-direction: column;
  }

  .hero-main-search-submit-row .btn-primary {
    width: 100%;
  }

  .hero-secondary-search {
    padding: 1.25rem;
    gap: 1rem;
  }

  .hero-secondary-search .link-m:first-child span {
    display: none;
  }

  /*** PHOTO GALLERY SECTION ***/

  .obj-bottom-block > .obj-gallery-previews > .card-image:nth-child(5) {
    display: none;
  }

  /*** BANK LINKS SECTION ***/

  .btn-bank-link {
    width: 13.75rem;
    height: 4.5rem;
  }

  /*** BROKER PAGE ***/

  .broker-container {
    margin: 0 var(--SIDE-MARGIN);
    gap: 1rem;
  }
}

/* 536px - INTERMEDIARY */

@media (max-width: 33.5em) {
  /*** FOOTER SECTION ***/

  .footer-copyright-container {
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-menu {
    justify-content: space-between;
  }

  .footer-menu > li {
    width: 156px;
  }

  .footer-newsletter-section {
    width: 100%;
  }

  .footer-newsletter-form {
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
  }

  #subscribe_email,
  #subscribe_btn {
    width: 100%;
  }

  /*** PHOTO GALLERY SECTION ***/

  .obj-bottom-block > .obj-gallery-previews > .card-image:nth-child(4) {
    display: none;
  }

  .photos-count {
    font-size: 1.75rem;
    line-height: 2rem;
  }

  /*** BROKER PAGE ***/

  .broker-container {
    flex-direction: column;
  }

  .broker-container picture {
    min-width: unset;
    width: 100%;
  }

  .broker-image {
    width: 100%;
    height: auto;
  }

  /*** BROKER INFO SECTION ***/

  .offer-price-form,
  .obj-broker-big {
    width: 20rem;
  }

  /*** BANK LINKS SECTION ***/

  .banks {
    gap: 0.5rem !important;
  }

  .btn-bank-link {
    width: 11rem;
    height: 4rem;
  }

  .last-bank-link {
    width: 22.5rem;
  }
}

/* 440px - INTERMEDIARY */

@media (max-width: 27.5em) {
  :root {
    --SIDE-MARGIN: 1.25rem;
  }

  .logo {
    height: 1.5rem;
  }

  .section-header {
    padding: 3rem 0 2rem;
  }

  .container-header {
    gap: 1.5rem;
  }

  .container-header p {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
  }

  .step-count-container {
    padding: 1.25rem 0
  }

  .container-calculator {
    gap: 3.5rem;
  }

  .form-step {
    gap: 3rem;
  }

  .section-calculator {
    padding-bottom: 5rem;
  }
  
  .step-container {
    gap: 1.75rem;
  }

  .step-content {
    gap: 1rem;
  }

  .textarea-default::part(textarea) {
    min-height: 7.5rem;
  }

  /*** ADVANCED SEARCH MODAL SECTION ***/

  #advanced-search-full-form {
    padding-top: 1rem;
    border: 1px solid var(--GRAY-300);
    background-color: var(--GRAY-50);
  }

  .advancedSearch-filters {
    height: calc(100vh - 17.5rem);
    overflow-y: auto;
    padding-bottom: 1rem;
  }

  .advancedSearch-submit {
    background-color: var(--WHITE-1);
    position: fixed;
    bottom: 0;
    width: 100%;
  }

  .advancedSearch-filters .filter-row:not(:first-child) {
    flex-direction: column;
  }

  /*** OFFER/CALCULATOR SECTION ***/

  .form-step .button-box {
    flex-direction: column;
  }

  .form-step button {
    width: 100%;
  }

  /*** MARKETING SECTION ***/

  .section-marketing {
    padding: 0 0.5rem 0 0.5rem;
  }

  .marketing-container {
    padding: 2.5rem 1rem;
    align-items: flex-end;
    height: 40rem;
  }

  .marketing-content {
    padding: 2rem 1.5rem;
  }

  .marketing-content .btn-primary {
    align-self: stretch;
  }

  /*** MARKETING SECTION 2 ***/

  .section-marketing.s-m--2 {
    padding: 0 0.5rem 2.5rem 0.5rem;
  }

  /*** FEATURES SECTION ***/

  .section-features {
    padding: 5.5rem 0;
  }

  .features-container {
    gap: 2rem;
  }

  .features-grid {
    gap: 1rem;
  }

  .feature-card {
    padding: 1.75rem 1.5rem;
  }

  .partners-container {
    padding: 2.5rem 1.5rem;
  }

  .partners-row {
    column-gap: 2rem;
  }

  /*** FOOTER SECTION ***/

  .footer-menu {
    gap: 0.75rem;
  }

  .footer-menu > li {
    width: 150px;
    margin-bottom: 20px;
  }

  /*** PHOTO GALLERY SECTION ***/

  .card-image {
    width: 5rem;
    height: 4rem;
  }

  /*** BROKER INFO SECTION ***/

  .offer-price-form,
  .obj-broker-big {
    width: 19rem;
  }

  /*** BANK LINKS SECTION ***/

  .btn-bank-link {
    width: 9rem;
    height: 3.5rem;
  }

  .last-bank-link {
    width: 18.5rem;
  }

  /*** HERO SECTION ***/

  .section-hero {
    padding: 0;
  }

  .hero-container {
    border-radius: 0;
  }

  .hero-content.container {
    margin: 0 0.25rem !important;
  }

  .hero-main-search-submit-row .filter-wrapped-links {
    column-gap: 2rem;
  }

  .hero-secondary-search {
    margin: 0 -1.25rem;
    justify-content: space-evenly;
  }

  .hero-main-search {
    padding-bottom: 0;
  }

  .saved_searches_popup {
    margin: -1.5rem 0 1.5rem;
  }

  .new-ads-carousel-container {
    width: 95%;
    margin-left: -1rem;
  }

  .new-ad-card {
    margin-right: 1rem !important;
  }

  .new-ad-card-image {
    height: 16rem;
  }

  .clients-look-card {
    width: 95%;
  }

  #partners_toggle_list p {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
  }

  .career-content {
    padding-bottom: 2rem;
  }

  footer {
    margin: 0;
  }

  .footer-newsletter-container,
  .footer-menu-container,
  .footer-copyright-container {
    margin: 0 var(--SIDE-MARGIN);
  }
}

/* 360px - MOBILE BY DESIGN */

@media (max-width: 22.5em) {
  :root {
    --SIDE-MARGIN: 1.25rem;
  }

  .in {
    width: 100%;
  }

  /*** NEW ADS SECTON ***/

  .section-new-ads {
    padding: 5.5rem 0;
  }

  .new-ads-container {
    gap: 2rem;
  }

  .new-ads-container .btn-secondary-l {
    width: 100%;
  }

  /*** MARKETING SECTION ***/

  .section-marketing .body-l-regular {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
  }

  /*** CLIENTS LOOK SECTION ***/

  .section-clients-look {
    padding: 5.5rem 0;
  }

  /*** SERVICES SECTION ***/

  .section-services {
    padding: 5rem 0;
  }

  .services-container {
    gap: 2rem;
  }

  .service-card {
    height: 26.25rem;
    width: 18.5rem;
  }

  /*** SERVICE HEADER SECTION ***/

  .section-service-header {
    padding: 3.5rem 0 2.5rem 0;
  }

  .service-header-content {
    gap: 1.25rem;
  }

  /*** SERVICE SECTION  ***/

  .service-image {
    height: 20rem;
  }

  /*** CAREER SECTION ***/

  .section-career {
    padding: 5.5rem 0;
  }

  .career-image {
    display: none;
  }
}
