.client-home-page {
  --home-primary: #0b6f62;
  --home-primary-dark: #07584f;
  --home-accent: #f28f3b;
  --home-ink: #17201f;
  --home-muted: #66736f;
  --home-line: #e3e9e7;
  --home-soft: #f4f8f7;
  overflow: hidden;
  color: var(--home-ink);
  background: #fff;
}

.client-home-page :is(.client-sale-section, .client-rent-section, .client-area-section, .client-intro-section, .client-project-section, .client-partner-section, .client-utility-section, .client-blog-section) {
  position: relative;
}

.client-home-page :is(.client-sale-section, .client-rent-section, .client-project-section, .client-partner-section, .client-blog-section) {
  padding-top: clamp(4.8rem, 6vw, 8rem);
  padding-bottom: clamp(4.8rem, 6vw, 8rem);
}

.client-home-page :is(.sale-title, .rent-title, .area-section-title, .intro-title, .project-heading-title, .partner-heading-title, .blog-heading-title) {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2.5rem, 3vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.client-home-page :is(.sale-subtitle, .rent-subtitle, .area-section-desc, .project-heading-subtitle, .partner-heading-subtitle, .blog-heading-subtitle) {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--home-muted);
  font-size: clamp(1.45rem, 1.5vw, 1.7rem);
  line-height: 1.65;
}

.client-home-page .client-sale-section {
  background: #fff;
}

.client-home-page .client-rent-section {
  border-top: 1px solid #edf1ef;
  border-bottom: 1px solid #edf1ef;
  background:
    radial-gradient(circle at 8% 10%, rgba(11, 111, 98, 0.07), transparent 25rem),
    var(--home-soft);
}

.client-home-page :is(.sale-grid, .rent-grid) {
  gap: clamp(1.6rem, 2vw, 2.4rem);
}

.client-home-page :is(.sale-item, .rent-item) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--home-line);
  border-radius: 1.8rem !important;
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgba(25, 51, 46, 0.07) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.client-home-page :is(.sale-item, .rent-item):hover {
  border-color: rgba(11, 111, 98, 0.35);
  transform: translateY(-0.4rem) !important;
  box-shadow: 0 1.8rem 4rem rgba(25, 51, 46, 0.12) !important;
}

.client-home-page :is(.sale-img, .rent-img) {
  height: clamp(19rem, 17vw, 23rem) !important;
  overflow: hidden;
  border-radius: 1.7rem 1.7rem 0 0;
}

.client-home-page :is(.sale-img, .rent-img) img {
  transition: transform 0.45s ease;
}

.client-home-page :is(.sale-item, .rent-item):hover :is(.sale-img, .rent-img) img {
  transform: scale(1.035);
}

.client-home-page :is(.sale-content, .rent-content) {
  flex: 1;
}

.client-home-page :is(.sale-content, .rent-content) .box-info {
  min-height: 5.8rem;
  margin: 0 !important;
  /* padding: 1.7rem 1.8rem 0.6rem !important; */
}

.client-home-page :is(.sale-content, .rent-content) .box-info a {
  color: var(--home-ink);
}

.client-home-page :is(.sale-price, .rent-price) {
  flex-wrap: wrap;
  align-items: center;
  margin: 0.3rem 0 0 !important;
  padding: 0 1.8rem !important;
  color: var(--home-primary) !important;
  font-size: 1.65rem !important;
}

.client-home-page :is(.sale-location, .rent-location) {
  display: flex;
  align-items: flex-start;
  margin: 1rem 0 0 !important;
  padding: 0 1.8rem !important;
}

.client-home-page :is(.sale-footer, .rent-footer) {
  align-items: center;
  margin: 1.4rem 0 0 !important;
  padding: 1.2rem 1.8rem 1.5rem !important;
  border-top: 1px solid #edf1ef;
}

.client-home-page :is(.client-sale-section, .client-rent-section) :is(.sale-footer, .rent-footer) .btn-like {
  color: var(--home-primary);
  border: 1px solid var(--home-line) !important;
  border-color: var(--home-line) !important;
  background: #fff !important;
}

.client-home-page :is(.client-sale-section, .client-rent-section) :is(.sale-footer, .rent-footer) .btn-like:hover {
  color: var(--home-primary-dark) !important;
  border-color: rgba(11, 111, 98, 0.55) !important;
  background: rgba(11, 111, 98, 0.08) !important;
}

.client-home-page :is(.client-sale-section, .client-rent-section) :is(.sale-footer, .rent-footer) .btn-like.wishlist {
  color: var(--home-accent) !important;
  border-color: rgba(242, 143, 59, 0.55) !important;
  background: rgba(242, 143, 59, 0.1) !important;
}

.client-home-page :is(.sale-load, .rent-load) {
  min-width: 14rem;
  border: 1px solid var(--home-primary);
  border-radius: 12px;
  background: transparent;
  color: var(--home-primary);
  box-shadow: none;
}

.client-home-page :is(.sale-load, .rent-load):hover {
  color: #fff;
  background: var(--home-primary);
}

.home-property-empty {
  grid-column: 1 / -1;
  min-height: 28rem;
  display: grid;
  grid-template-columns: auto minmax(0, 54rem);
  align-items: center;
  justify-content: center;
  gap: 2.8rem;
  padding: clamp(3rem, 6vw, 6rem);
  border: 1px dashed rgba(11, 111, 98, 0.3);
  border-radius: 2.4rem;
  background:
    linear-gradient(135deg, rgba(11, 111, 98, 0.06), rgba(242, 143, 59, 0.05)),
    #fff;
  text-align: left;
}

.home-property-empty__icon {
  width: 10rem;
  height: 10rem;
  display: grid;
  place-items: center;
  border-radius: 2.8rem;
  color: var(--home-primary);
  background: rgba(11, 111, 98, 0.1);
  transform: rotate(-3deg);
}

.home-property-empty__icon svg {
  width: 5.2rem;
  height: 5.2rem;
}

.home-property-empty__eyebrow {
  color: var(--home-accent);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-property-empty h3 {
  margin: 0.7rem 0 0;
  color: var(--home-ink);
  font-size: clamp(2.1rem, 2.5vw, 3rem);
  line-height: 1.25;
}

.home-property-empty p {
  margin: 1rem 0 0;
  color: var(--home-muted);
  font-size: 1.55rem;
  line-height: 1.65;
}

.home-property-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.home-property-empty__actions a {
  min-height: 4.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border: 1px solid var(--home-primary);
  border-radius: 999px;
  color: #fff;
  background: var(--home-primary);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.home-property-empty__actions a.is-secondary {
  color: var(--home-primary);
  background: #fff;
}

.client-home-page .client-area-section {
  margin: 0;
  padding-top: clamp(4.8rem, 6vw, 8rem);
  padding-bottom: clamp(4.8rem, 6vw, 8rem);
}

.client-home-page .area-card {
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 1.4rem 3.5rem rgba(19, 43, 39, 0.12);
}

.client-home-page .client-intro-section {
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(4.8rem, 6vw, 8rem);
}

.client-home-page .intro-wrapper {
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--home-line);
  border-radius: 2.8rem;
  background: #fff;
  box-shadow: 0 2rem 5rem rgba(19, 43, 39, 0.08);
}

.client-home-page .intro-image,
.client-home-page .intro-image img {
  border-radius: 2rem;
}

.client-home-page .intro-desc {
  color: var(--home-muted) !important;
  line-height: 1.75 !important;
}

.client-home-page .client-project-section {
  border-top: 1px solid #edf1ef;
  background: var(--home-soft);
}

.client-home-page .project-tabs {
  width: min(100%, 68rem);
  min-height: 4.6rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0.8rem 2.4rem rgba(19, 43, 39, 0.06);
}

.client-home-page .project-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 1rem 1.5rem !important;
  border-radius: 12px !important;
  line-height: 1.25;
  white-space: nowrap;
}

.client-home-page .project-card {
  border: 1px solid var(--home-line);
  border-radius: 1.8rem !important;
  box-shadow: 0 1rem 2.8rem rgba(19, 43, 39, 0.07) !important;
}

.client-home-page .client-project-section .project-content-wrapper .project-pane .project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-home-page .project-card .project-body-title {
  height: 4.9rem;
  min-height: 4.9rem;
}

.client-home-page .project-card .project-body-location {
  height: 4.4rem;
  min-height: 4.4rem;
}

.client-home-page .project-card .project-body-meta {
  display: none !important;
}

.client-home-page .client-partner-section {
  background: #fff;
}

.client-home-page .partner-item {
  border: 1px solid var(--home-line);
  border-radius: 1.6rem !important;
  box-shadow: none !important;
}

.client-home-page .client-utility-section {
  padding: 0 0 clamp(4.8rem, 6vw, 8rem);
}

.client-home-page .utility-card {
  min-height: 10rem;
  border: 1px solid var(--home-line) !important;
  border-radius: 1.8rem !important;
  box-shadow: 0 1rem 2.8rem rgba(19, 43, 39, 0.07) !important;
}

.client-home-page .client-blog-section {
  border-top: 1px solid #edf1ef;
  background: var(--home-soft);
}

@media (max-width: 767.98px) {
  .client-home-page :is(.client-sale-section, .client-rent-section, .client-area-section, .client-intro-section, .client-project-section, .client-partner-section, .client-utility-section, .client-blog-section) {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .client-home-page :is(.sale-title, .rent-title, .area-section-title, .project-heading-title, .partner-heading-title, .blog-heading-title) {
    font-size: clamp(2.35rem, 7vw, 3rem);
    letter-spacing: -0.025em;
  }

  .client-home-page :is(.sale-subtitle, .rent-subtitle, .area-section-desc, .project-heading-subtitle, .partner-heading-subtitle, .blog-heading-subtitle) {
    margin-top: 0.8rem;
    margin-bottom: 2.2rem;
    font-size: 1.4rem;
    line-height: 1.55;
  }

  .client-home-page :is(.sale-grid, .rent-grid) {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .client-home-page :is(.sale-item, .rent-item):hover {
    transform: none !important;
  }

  .client-home-page :is(.sale-img, .rent-img) {
    height: 20rem !important;
  }

  .client-home-page :is(.sale-content, .rent-content) .box-info {
    min-height: auto;
    font-size: 1.65rem !important;
  }

  .home-property-empty {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 2.4rem 2rem;
    border-radius: 2rem;
    text-align: center;
  }

  .home-property-empty__icon {
    width: 7.6rem;
    height: 7.6rem;
    margin: 0 auto;
    border-radius: 2.2rem;
  }

  .home-property-empty__icon svg {
    width: 4.2rem;
    height: 4.2rem;
  }

  .home-property-empty__actions {
    justify-content: center;
  }

  .home-property-empty__actions a {
    flex: 1 1 14rem;
  }

  .client-home-page .intro-wrapper {
    padding: 1.6rem !important;
    border-radius: 2.2rem;
  }

  .client-home-page .project-tabs {
    width: max-content !important;
    max-width: 100%;
    height: auto !important;
    justify-content: flex-start;
    gap: 0.4rem !important;
    padding: 0.5rem !important;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .client-home-page .project-tabs::-webkit-scrollbar {
    display: none;
  }

  .client-home-page .project-tab {
    flex: 0 0 auto;
    min-height: 3.4rem;
    padding: .5rem 1.6rem !important;
    border: 0 !important;
    color: var(--home-primary-dark) !important;
    background: transparent !important;
    font-size: 1.35rem !important;
    line-height: 1.2;
    white-space: nowrap;
    scroll-snap-align: start;
    box-shadow: none !important;
  }

  .client-home-page .project-tab.active {
    color: #fff !important;
    background: var(--home-primary) !important;
    box-shadow: 0 0.6rem 1.6rem rgba(11, 111, 98, 0.22) !important;
  }
}

@media (max-width: 480px) {
  .client-home-page :is(.client-sale-section, .client-rent-section, .client-area-section, .client-project-section, .client-partner-section, .client-blog-section) {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .client-home-page :is(.sale-img, .rent-img) {
    height: 18.5rem !important;
  }

  .client-home-page .client-area-section .area-section-grid {
    gap: 1.4rem;
  }

  .client-home-page .client-area-section .area-card,
  .client-home-page .client-area-section .area-card.featured {
    height: 19rem;
    border-radius: 1.8rem;
  }

  .client-home-page .client-utility-section .utility-wrap {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .client-home-page .client-project-section .project-content-wrapper .project-pane .project-grid {
    grid-template-columns: 1fr;
  }

  .client-home-page .client-utility-section .utility-card {
    min-height: 7.6rem;
    flex-direction: row;
    justify-content: flex-start;
    padding: 1.2rem 1.6rem;
    text-align: left;
  }

  .client-home-page .client-utility-section .utility-card .text {
    margin-top: 0;
    font-size: 1.45rem;
  }
}

@media (max-width: 575.98px) {
  .client-home-page .client-project-section .project-content-wrapper .project-pane .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-home-page *,
  .client-home-page *::before,
  .client-home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 576px) and (max-width: 1023.98px) {
  .client-home-page .client-area-section .area-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-home-page .client-area-section .area-card:last-child {
    order: 1;
  }

  .client-home-page .client-area-section .area-card.featured {
    order: 2;
    grid-column: span 2;
  }

  .client-home-page .client-project-section .project-content-wrapper .project-pane .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.client-home-page .client-blog-section .client-blog-content .blog-content-group .blog-wrapper .blog-sidebar .blog-list-item img {
  width: clamp(13rem, 12vw, 16rem);
  height: clamp(9rem, 8vw, 11rem);
  flex: 0 0 auto;
}

.client-home-page .client-blog-section .client-blog-content .blog-content-group .blog-wrapper .blog-sidebar .blog-list-content .title {
  -webkit-line-clamp: 2;
}

.client-home-page .client-blog-section .client-blog-content .blog-content-group .blog-wrapper .blog-sidebar .blog-list-content .excerpt {
  -webkit-line-clamp: 1;
}
