.commercial-page {
  --brand-green: var(--brand-green);
  --brand-green-dark: var(--brand-deep-green);
  --brand-green: var(--brand-green);
  --border: var(--border);
  color: var(--body);
  background:
    radial-gradient(circle at 5% 64%, color-mix(in srgb, var(--charcoal) 5%, transparent), transparent 24%),
    var(--white);
  font-size: 14px;
}

.cp-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.cp-hero {
  position: relative;
  min-height: 480px !important;
  color: var(--white);
  background:
    url("../images/pakistan-karachi-commercial.webp") center 52% / cover no-repeat,
    var(--brand-green-dark);
}

.cp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--charcoal) 98%, transparent) 0%, color-mix(in srgb, var(--charcoal) 89%, transparent) 38%, color-mix(in srgb, var(--charcoal) 3%, transparent) 78%);
}

.cp-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 39px;
}

.cp-hero nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.cp-hero nav span {
  color: color-mix(in srgb, var(--white) 68%, transparent);
  font-size: 20px;
}

.cp-hero h1 {
  margin: 14px 0 4px;
  font: 700 clamp(40px, 4.3vw, 55px)/1.08 "Manrope", Arial, sans-serif;
}

.cp-hero h2 {
  margin: 0 0 11px;
  color: var(--brand-green);
  font-size: 18px;
  line-height: 1.45;
}

.cp-hero p {
  margin: 0;
  color: color-mix(in srgb, var(--white) 92%, transparent);
  font-size: 14px;
  line-height: 1.65;
}

.cp-filter-card {
  position: relative;
  z-index: 4;
  margin-top: -38px;
  padding: 19px 22px 20px;
  border: 1px solid color-mix(in srgb, var(--charcoal) 5%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--white) 98%, transparent);
  box-shadow: 0 13px 34px color-mix(in srgb, var(--charcoal) 11%, transparent);
}

.cp-filter-row {
  display: grid;
  align-items: end;
  gap: 20px;
}

.cp-filter-primary {
  grid-template-columns: .9fr .9fr 3.25fr;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cp-filter-secondary {
  grid-template-columns: 1.35fr 1.05fr .9fr .8fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cp-filter-more {
  grid-template-columns: 1fr 1fr 1fr 2.4fr;
  padding-top: 16px;
}

.cp-filter-card label,
.cp-range-group,
.cp-type-group,
.cp-purpose {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--body);
  font-size: 13px;
  font-weight: 600;
}

.cp-filter-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cp-filter-card select,
.cp-filter-card input {
  width: 100%;
  height: 43px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: 0;
  color: var(--body);
  background: var(--white);
  font-size: 13px;
}

.cp-filter-card select:focus,
.cp-filter-card input:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--charcoal) 8%, transparent);
}

.cp-type-group {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.cp-type-group legend,
.cp-purpose legend,
.cp-range-group>span {
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 8px;
  font-size: 13px;
}

.cp-type-group button,
.cp-purpose button {
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--heading);
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.cp-type-group button svg {
  width: 17px;
  height: 17px;
  color: var(--heading);
}

.cp-type-group button.active,
.cp-purpose button.active {
  border-color: var(--brand-green);
  color: var(--white);
  background: var(--brand-green);
}

.cp-type-group button.active svg {
  color: var(--brand-green);
}

.cp-range-group>div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.cp-range-group b {
  color: var(--body);
  font-size: 12px;
  font-weight: 500;
}

.cp-range-group:first-child select {
  max-width: 76px;
}

.cp-purpose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cp-blank-label>span {
  margin-bottom: 0;
}

.cp-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.cp-reset-button,
.cp-search-button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 27px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.cp-reset-button {
  min-width: 105px;
  border: 1px solid var(--border);
  color: var(--heading);
  background: var(--white);
}

.cp-search-button {
  min-width: 220px;
  border: 0;
  color: var(--white);
  background: var(--brand-green);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--charcoal) 14%, transparent);
}

.cp-search-button svg {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
}

.cp-listing {
  padding-top: 23px;
  padding-bottom: 20px;
}

.cp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.cp-toolbar>p {
  margin: 0;
  color: var(--body);
  font-size: 13px;
}

.cp-toolbar>div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.cp-toolbar label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
}

.cp-toolbar select {
  width: 160px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-size: 13px;
}

.cp-view-buttons {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 7px;
  background: var(--bg-light);
}

.cp-view-buttons button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: var(--body);
  background: transparent;
}

.cp-view-buttons button.active {
  color: var(--brand-green);
  background: var(--brand-green);
}

.cp-view-buttons svg {
  width: 17px;
  height: 17px;
}

.cp-listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}

.cp-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cp-property-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 5px 13px color-mix(in srgb, var(--charcoal) 5%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cp-property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 24px color-mix(in srgb, var(--charcoal) 11%, transparent);
}

.cp-property-card[hidden] {
  display: none;
}

.cp-property-image {
  position: relative;
  height: 162px;
  background-position: center;
  background-size: cover;
}

.cp-image-one,
.cp-image-six,
.cp-image-eleven {
  background-image: url("../images/pakistan-karachi-commercial.webp");
}

.cp-image-two,
.cp-image-four,
.cp-image-eight {
  background-image: url("../images/pakistan-housing-project.webp");
}

.cp-image-three,
.cp-image-nine,
.cp-image-twelve {
  background-image: url("../images/pakistan-islamabad-apartments.webp");
}

.cp-image-five,
.cp-image-ten {
  background-image: url("../images/pakistan-karachi-commercial.webp");
}

.cp-image-seven {
  background-image: url("../images/pakistan-mazar-e-quaid-karachi.webp");
}

.cp-badge,
.cp-focus {
  position: absolute;
  left: 9px;
  padding: 4px 7px;
  border-radius: 4px;
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.cp-badge {
  top: 9px;
}

.cp-badge.gold {
  color: var(--body);
  background: var(--brand-green);
}

.cp-badge.orange {
  color: var(--body);
  background: var(--brand-green);
}

.cp-badge.green {
  background: var(--brand-deep-green);
}

.cp-badge.blue {
  background: var(--brand-green);
}

.cp-focus {
  bottom: 7px;
  background: color-mix(in srgb, var(--charcoal) 94%, transparent);
}

.cp-favourite {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: color-mix(in srgb, var(--charcoal) 25%, transparent);
  filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--charcoal) 4%, transparent));
}

.cp-favourite svg {
  width: 21px;
  height: 21px;
}

.cp-favourite.saved {
  color: var(--brand-green);
  background: var(--white);
}

.cp-favourite.saved svg {
  fill: currentColor;
}

.cp-card-body {
  padding: 11px 12px 13px;
}

.cp-card-body h2 {
  margin: 0 0 6px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.3;
}

.cp-card-body>p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 6px;
  color: var(--body);
  font-size: 12px;
}

.cp-card-body>p svg {
  width: 13px;
  height: 13px;
  color: var(--heading);
}

.cp-meta {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin: 9px 0;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
  color: var(--body);
  font-size: 11px;
}

.cp-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cp-meta svg {
  width: 13px;
  height: 13px;
}

.cp-card-body strong {
  display: block;
  margin-bottom: 2px;
  color: var(--heading);
  font-size: 16px;
}

.cp-card-body small {
  color: var(--body);
  font-size: 11px;
}

.cp-property-grid.list-view {
  grid-template-columns: 1fr;
}

.cp-property-grid.list-view .cp-property-card {
  display: grid;
  grid-template-columns: 230px 1fr;
}

.cp-property-grid.list-view .cp-property-image {
  min-height: 205px;
  height: 100%;
}

.cp-property-grid.list-view .cp-card-body {
  padding: 17px;
}

.cp-property-grid.list-view .cp-card-body h2 {
  font-size: 18px;
}

.cp-investment-panel {
  padding: 22px 15px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-light);
}

.cp-investment-panel>h2 {
  margin: 0 4px 17px;
  color: var(--heading);
  font: 700 24px/1.25 "Manrope", Arial, sans-serif;
}

.cp-investment-panel article {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 10px;
  margin-bottom: 11px;
  padding: 14px 11px;
  border-radius: 7px;
  background: var(--white);
}

.cp-investment-panel article>svg {
  width: 25px;
  height: 25px;
  color: var(--heading);
}

.cp-investment-panel h3 {
  margin: 0 0 5px;
  color: var(--heading);
  font-size: 12px;
  line-height: 1.4;
}

.cp-investment-panel article p {
  margin: 0;
  color: var(--body);
  font-size: 11px;
  line-height: 1.55;
}

.cp-market-insight {
  margin-top: 14px;
  padding: 17px 13px;
  border-radius: 7px;
  background: var(--bg-light);
}

.cp-market-insight h3 {
  color: var(--heading);
  font-size: 14px;
}

.cp-market-insight p {
  color: var(--heading);
  font-size: 12px;
  line-height: 1.65;
}

.cp-market-insight small {
  color: var(--body);
  font-size: 10px;
}

.cp-empty-state {
  padding: 55px 20px;
  border: 1px dashed var(--border);
  border-radius: 9px;
  text-align: center;
  background: var(--white);
}

.cp-empty-state svg {
  width: 42px;
  height: 42px;
  color: var(--brand-green);
}

.cp-empty-state h2 {
  margin: 10px 0 3px;
  font-size: 21px;
}

.cp-empty-state p {
  margin: 0;
  color: var(--body);
}

.cp-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 0 3px;
}

.cp-pagination button {
  min-width: 33px;
  height: 33px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--body);
  background: var(--white);
  font-size: 12px;
}

.cp-pagination button.active {
  border-color: var(--brand-green);
  color: var(--white);
  background: var(--brand-green);
}

.cp-contact-cta {
  min-height: 118px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  margin-bottom: 24px;
  padding: 20px 31px;
  border-radius: 11px;
  color: var(--white);
  background: linear-gradient(100deg, var(--brand-deep-green), var(--brand-deep-green));
  box-shadow: 0 10px 25px color-mix(in srgb, var(--charcoal) 11%, transparent);
}

.cp-contact-cta>div:first-child {
  display: flex;
  align-items: center;
  gap: 21px;
}

.cp-contact-cta>div>svg {
  width: 54px;
  height: 54px;
  color: var(--brand-green);
}

.cp-contact-cta p {
  margin: 0;
}

.cp-contact-cta p strong {
  display: block;
  font: 700 22px/1.25 "Manrope", Arial, sans-serif;
}

.cp-contact-cta p span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.cp-cta-actions {
  text-align: center;
}

.cp-cta-actions a {
  min-width: 240px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border-radius: 6px;
  color: var(--body);
  background: var(--brand-green);
  font-size: 13px;
  font-weight: 800;
}

.cp-cta-actions p {
  margin-top: 9px;
  font-size: 12px;
}

.cp-cta-actions p strong {
  display: inline;
  font-family: inherit;
  font-size: 13px;
}

.cp-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) .85fr;
  gap: 23px;
  padding-bottom: 28px;
}

.cp-faq>h2 {
  margin: 0 0 11px;
  color: var(--body);
  font-size: 19px;
}

.cp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}

.cp-faq article {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}

.cp-faq button {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border: 0;
  color: var(--body);
  background: var(--white);
  text-align: left;
  font-size: 12px;
}

.cp-faq button svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.cp-faq article>p {
  display: none;
  margin: 0;
  padding: 0 11px 11px;
  color: var(--body);
  font-size: 12px;
  line-height: 1.55;
}

.cp-faq article.open>p {
  display: block;
}

.cp-faq article.open button svg {
  transform: rotate(45deg);
}

.cp-expert-card {
  min-height: 170px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 9px;
  background:
    linear-gradient(90deg, var(--white) 4%, color-mix(in srgb, var(--white) 92%, transparent) 43%, color-mix(in srgb, var(--white) 12%, transparent) 73%),
    url("../images/pakistan-karachi-commercial.webp") center / cover no-repeat;
}

.cp-expert-card>div {
  width: 64%;
  padding: 18px 20px;
}

.cp-expert-card h2 {
  margin: 0 0 7px;
  color: var(--heading);
  font: 700 21px/1.18 "Manrope", Arial, sans-serif;
}

.cp-expert-card p {
  margin: 0 0 13px;
  color: var(--heading);
  font-size: 12px;
  line-height: 1.5;
}

.cp-expert-card a {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  padding: 0 15px;
  border-radius: 5px;
  color: var(--white);
  background: var(--brand-green);
  font-size: 11px;
  font-weight: 700;
}

.commercial-page+footer .footer-cta {
  display: none;
}

@media (max-width: 1100px) {
  .cp-filter-primary {
    grid-template-columns: 1fr 1fr;
  }

  .cp-type-group {
    grid-column: 1 / -1;
  }

  .cp-filter-secondary {
    grid-template-columns: 1fr 1fr;
  }

  .cp-filter-more {
    grid-template-columns: repeat(3, 1fr);
  }

  .cp-filter-actions {
    grid-column: 1 / -1;
  }

  .cp-listing-layout {
    grid-template-columns: 1fr;
  }

  .cp-investment-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cp-investment-panel>h2,
  .cp-market-insight {
    grid-column: 1 / -1;
  }

  .cp-investment-panel article {
    margin: 0;
  }
}

@media (max-width: 760px) {
  .cp-shell {
    width: calc(100% - 30px);
  }

  .cp-hero {
    min-height: 315px;
  }

  .cp-hero-content {
    padding-top: 42px;
  }

  .cp-hero p br {
    display: none;
  }

  .cp-filter-card {
    margin-top: -32px;
    padding: 16px;
  }

  .cp-filter-primary,
  .cp-filter-secondary,
  .cp-filter-more {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .cp-type-group,
  .cp-filter-actions {
    grid-column: 1 / -1;
  }

  .cp-type-group {
    grid-template-columns: repeat(3, 1fr);
  }

  .cp-property-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cp-investment-panel {
    grid-template-columns: 1fr 1fr;
  }

  .cp-contact-cta {
    grid-template-columns: 1fr;
  }

  .cp-cta-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
  }

  .cp-cta-actions p {
    margin: 0;
  }

  .cp-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .commercial-page {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .cp-shell {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .cp-hero-content,
  .cp-filter-card,
  .cp-listing,
  .cp-contact-cta,
  .cp-bottom {
    min-width: 0;
  }

  .cp-hero h1 {
    max-width: 100%;
    font-size: 35px;
    overflow-wrap: anywhere;
  }

  .cp-hero h2 {
    font-size: 16px;
  }

  .cp-hero h2,
  .cp-hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .cp-filter-card form,
  .cp-filter-row,
  .cp-filter-row>* {
    min-width: 0;
    max-width: 100%;
  }

  .cp-filter-card select,
  .cp-filter-card input,
  .cp-type-group button {
    min-width: 0;
    max-width: 100%;
  }

  .cp-filter-primary,
  .cp-filter-secondary,
  .cp-filter-more {
    grid-template-columns: 1fr;
  }

  .cp-type-group,
  .cp-filter-actions {
    grid-column: auto;
  }

  .cp-type-group {
    grid-template-columns: 1fr 1fr;
  }

  .cp-range-group>div {
    flex-wrap: wrap;
  }

  .cp-range-group input,
  .cp-range-group select {
    flex: 1 1 40%;
  }

  .cp-range-group:first-child select {
    max-width: none;
  }

  .cp-filter-actions {
    flex-direction: column-reverse;
  }

  .cp-reset-button,
  .cp-search-button {
    width: 100%;
  }

  .cp-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .cp-toolbar>div {
    width: 100%;
    justify-content: space-between;
  }

  .cp-toolbar label {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .cp-property-grid {
    grid-template-columns: 1fr;
  }

  .cp-property-image {
    height: 210px;
  }

  .cp-property-grid.list-view .cp-property-card {
    grid-template-columns: 1fr;
  }

  .cp-property-grid.list-view .cp-property-image {
    min-height: 210px;
  }

  .cp-investment-panel {
    grid-template-columns: 1fr;
  }

  .cp-investment-panel>h2,
  .cp-market-insight {
    grid-column: auto;
  }

  .cp-contact-cta {
    padding: 21px;
  }

  .cp-contact-cta>div:first-child {
    align-items: flex-start;
  }

  .cp-contact-cta p strong {
    font-size: 20px;
  }

  .cp-cta-actions {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .cp-cta-actions a {
    min-width: 0;
    width: 100%;
  }

  .cp-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Featured Commercial Projects Carousel (mirrors rp-communities)
   ============================================================ */
.rp-communities {
  padding-top: 0;
  margin-top: 45px;
  padding-bottom: 10px;
}

.rp-communities .cp-shell {
  max-width: var(--site-width, 1240px);
  margin-inline: auto;
  padding-inline: var(--shell-pad, 24px);
}

.rp-communities-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.rp-communities-head h2 {
  margin: 0 0 4px;
  color: var(--heading);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.25;
}

.rp-communities-head p {
  margin: 0;
  color: var(--body);
  font-size: 13px;
}

.rp-communities-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--heading);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: .2s;
}

.rp-communities-all svg {
  width: 16px;
  height: 16px;
  transition: transform .18s ease;
}

.rp-communities-all:hover {
  color: var(--white);
  border-color: var(--brand-green);
  background: var(--brand-green);
}

.rp-communities-all:hover svg {
  transform: translateX(3px);
}

.rp-communities-carousel {
  position: relative;
}

.rp-communities-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rp-communities-track::-webkit-scrollbar {
  display: none;
}

.rp-community-card {
  flex: 0 0 calc((100% - 60px) / 5);
  min-width: 0;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease;
}

.rp-community-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 25px color-mix(in srgb, var(--charcoal) 11%, transparent);
}

.rp-community-image {
  display: block;
  height: 168px;
  overflow: hidden;
  background: var(--bg-light);
  position: relative;
}

.rp-community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform .35s ease;
}

.rp-community-card:hover .rp-community-image img {
  transform: scale(1.04);
}

.rp-community-body {
  padding: 12px 13px 13px;
}

.rp-community-body h3 {
  margin: 0 0 6px;
  overflow: hidden;
  color: var(--heading);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-community-body h3 a {
  color: inherit;
  text-decoration: none;
}

.rp-community-body h3 a:hover {
  color: var(--brand-green-dark);
}

.rp-community-location,
.rp-community-type {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
  margin: 0 0 5px;
  color: var(--body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-community-location svg,
.rp-community-type svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--brand-green-dark);
}

.rp-community-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.rp-community-price p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-community-price strong {
  color: var(--brand-green-dark);
  font-size: 14px;
  font-weight: 800;
}

.rp-community-price span {
  color: var(--body);
  font-size: 12px;
}

.rp-community-arrow {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--brand-green-dark);
  background: var(--white);
  text-decoration: none;
  transition: .2s;
}

.rp-community-arrow svg {
  width: 17px;
  height: 17px;
}

.rp-community-arrow:hover {
  color: var(--white);
  background: var(--brand-green-dark);
}

.rp-communities-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--heading);
  transform: translateY(-50%);
  transition: .2s;
  cursor: pointer;
}

.rp-communities-arrow svg {
  width: 19px;
  height: 19px;
}

.rp-communities-arrow:hover:not(:disabled) {
  border-color: var(--brand-green);
  color: var(--white);
  background: var(--brand-green);
}

.rp-communities-arrow:disabled {
  opacity: .4;
  cursor: default;
}

.rp-communities-arrow.prev {
  left: -19px;
}

.rp-communities-arrow.next {
  right: -19px;
}

/* Responsive */
@media (max-width: 1024px) {
  .rp-communities-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .rp-community-card {
    flex: 0 0 calc((100% - 30px) / 3);
  }

  .rp-community-image {
    height: 150px;
  }

  .rp-communities-arrow {
    width: 38px;
    height: 38px;
  }

  .rp-communities-arrow.prev {
    left: -10px;
  }

  .rp-communities-arrow.next {
    right: -10px;
  }
}

@media (max-width: 640px) {
  .rp-communities-all {
    width: 100%;
    justify-content: center;
  }

  .rp-community-card {
    flex: 0 0 84%;
  }

  .rp-community-image {
    height: 170px;
  }

  .rp-communities-arrow.prev {
    left: -6px;
  }

  .rp-communities-arrow.next {
    right: -6px;
  }
}

/* rp-shell container (used by rp-communities on the commercial page) */
.commercial-page .rp-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 768px) {
  .commercial-page .rp-shell {
    width: calc(100% - 30px);
  }
}

@media (max-width: 480px) {
  .commercial-page .rp-shell {
    width: calc(100% - 24px);
  }
}

/* Fix: card arrow button — solid green like reference */
.commercial-page .rp-community-arrow {
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: var(--white);
}

.commercial-page .rp-community-arrow:hover {
  background: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
}

/* Fix: FEATURED badge needs position relative on parent */
.rp-community-image {
  position: relative;
}

.rp-community-image .status {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--white);
  background: var(--brand-green);
  padding: 4px 9px;
  border-radius: 4px;
}

/* Fix: "Starting from" label above price */
.rp-community-price-wrap p.starting-label {
  margin: 0 0 2px;
  color: var(--body);
  font-size: 11px;
}

/* Fix: prev/next nav arrows - ensure shadow so they pop on top of image */
.rp-communities-arrow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Fix: type text - show inline icons same line */
.rp-community-type {
  font-size: 11.5px;
  color: var(--body);
  gap: 4px;
}

.rp-community-type svg {
  width: 13px;
  height: 13px;
}

/* === Featured Projects Section Exact Match === */
/* Section light bg */
.commercial-page .rp-communities {
  background: var(--bg-light);
  padding-top: 40px;
  padding-bottom: 36px;
  margin-top: 0;
}

/* "View All" button — solid green like reference */
.commercial-page .rp-communities-all {
  background: var(--brand-green) !important;
  color: var(--white) !important;
  border-color: var(--brand-green) !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 6px;
}

.commercial-page .rp-communities-all:hover {
  background: var(--brand-green-dark) !important;
  border-color: var(--brand-green-dark) !important;
}

.commercial-page .rp-communities-all svg {
  color: var(--white);
}

/* Featured badge — alternate colors */
.rp-community-image .status.featured {
  background: var(--brand-green) !important;
}

.rp-community-card:nth-child(even) .status.featured {
  background: #E07B2A !important;
}

/* Card white bg */
.commercial-page .rp-community-card {
  background: var(--white);
}

/* Section heading label */
.commercial-page .rp-communities .section-heading-label {
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

/* ============ DEFINITIVE ICON & BUTTON FIXES ============ */
/* Force green icons on location and type rows */
.commercial-page .rp-community-location,
.commercial-page .rp-community-location svg,
.commercial-page .rp-community-type,
.commercial-page .rp-community-type svg {
  color: var(--brand-green) !important;
  stroke: var(--brand-green) !important;
}

/* Arrow button: always solid green */
.commercial-page .rp-community-arrow {
  background: var(--brand-green) !important;
  border-color: var(--brand-green) !important;
  color: #fff !important;
}

.commercial-page .rp-community-arrow svg {
  color: #fff !important;
  stroke: #fff !important;
}

.commercial-page .rp-community-arrow:hover {
  background: #5e8c35 !important;
  border-color: #5e8c35 !important;
}

/* View All button: solid green always */
.commercial-page .rp-communities-all {
  background: var(--brand-green) !important;
  color: #fff !important;
  border-color: var(--brand-green) !important;
  font-weight: 700 !important;
}

.commercial-page .rp-communities-all svg,
.commercial-page .rp-communities-all i {
  color: #fff !important;
  stroke: #fff !important;
}

.commercial-page .rp-communities-all:hover {
  background: #5e8c35 !important;
  border-color: #5e8c35 !important;
}

/* Remove top margin gap — use padding instead so bg-light starts immediately */
.commercial-page .rp-communities {
  margin-top: 0 !important;
  padding-top: 40px !important;
  padding-bottom: 36px !important;
}

/* ======= FINAL FEATURED SECTION FIXES ======= */
/* Full-width background - section is full width, rp-shell inside constrains content */
.commercial-page .rp-communities {
  background: var(--bg-light) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 36px !important;
  padding-bottom: 36px !important;
  margin-top: 0 !important;
}

/* Inner shell constrains content width */
.commercial-page .rp-communities .rp-shell {
  width: min(1240px, calc(100% - 48px)) !important;
  margin-inline: auto !important;
}

/* Arrows visible above carousel */
.commercial-page .rp-communities-carousel {
  position: relative;
  padding: 0 22px;
}

.commercial-page .rp-communities-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--heading);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: .2s;
}

.commercial-page .rp-communities-arrow.prev {
  left: -2px;
}

.commercial-page .rp-communities-arrow.next {
  right: -2px;
}

.commercial-page .rp-communities-arrow:hover:not(:disabled) {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--white);
}

.commercial-page .rp-communities-arrow:disabled {
  opacity: .35;
  cursor: default;
}

/* Hide scrollbar for Commercial Properties for Sale track */
.cp-sale-track {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.cp-sale-track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Card Arrow Button Hover & Border styling */
.cp-sale-card-arrow {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 1.5px solid #00a859 !important;
  background-color: #ffffff !important;
  color: #00a859 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.cp-sale-card-arrow svg,
.cp-sale-card-arrow i {
  color: #00a859 !important;
  stroke: #00a859 !important;
  transition: color 0.25s ease, stroke 0.25s ease !important;
}

.cp-sale-card:hover .cp-sale-card-arrow,
.cp-sale-card-arrow:hover {
  background-color: #00a859 !important;
  border-color: #00a859 !important;
  color: #ffffff !important;
}

.cp-sale-card:hover .cp-sale-card-arrow svg,
.cp-sale-card:hover .cp-sale-card-arrow i,
.cp-sale-card-arrow:hover svg,
.cp-sale-card-arrow:hover i {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Override location and type paragraph text to gray while keeping SVG icon green */
.commercial-page .rp-community-location,
.commercial-page .rp-community-type {
  color: #6b7280 !important;
}

.commercial-page .rp-community-location svg,
.commercial-page .rp-community-type svg {
  color: #00a859 !important;
  stroke: #00a859 !important;
  fill: none !important;
}

/* Page-wide uniform off-white/light-grey background */
.commercial-page {
  background-color: #f9fafb !important;
}

.commercial-page .cp-sale-section,
.commercial-page .cp-listing,
.commercial-page .cp-contact-cta,
.commercial-page .cp-bottom {
  background-color: #f9fafb !important;
}

/* FAQ Section Definitive Overrides */
.faq-section {
  display: grid !important;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, .95fr) !important;
  align-items: stretch !important;
  gap: 24px !important;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.faq-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 16px !important;
}

.faq-tabs button {
  min-height: 34px !important;
  padding: 7px 16px !important;
  border-radius: 6px !important;
  border: 0 !important;
  background-color: #f0f2f5 !important;
  color: #4b5563 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.faq-tabs button.active {
  background-color: #00a859 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.faq-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: start !important;
  gap: 12px 16px !important;
}

.faq-item {
  overflow: hidden !important;
  border: 1px solid #e5e7eb !important;
  background-color: #ffffff !important;
  margin: 0 !important;
  border-radius: 8px !important;
  display: block;
  width: 100% !important;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.03) !important;
}

.faq-item button {
  width: 100% !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  color: #1f2937 !important;
  background-color: #ffffff !important;
  text-align: left !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
}

.faq-item button span {
  font-weight: 600 !important;
  font-size: 16px !important;
}

.faq-item button b {
  flex: 0 0 auto !important;
  color: #00a859 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.faq-item p {
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  overflow: hidden !important;
  color: #6b7280 !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  transition: max-height 0.25s ease, padding 0.25s ease !important;
}

.faq-item.open p {
  max-height: 200px !important;
  padding: 0 14px 14px !important;
}

.faq-section .contact-card {
  display: flex !important;
  align-self: start !important;
  align-items: flex-start !important;
  min-height: 0 !important;
  padding: 24px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

.faq-section .faq-newsletter h3 {
  margin: 0 0 4px !important;
  color: #00a859 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

.faq-section .faq-newsletter-heading {
  display: block;
  margin-bottom: 8px !important;
  color: #1f2937 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.faq-section .faq-newsletter p {
  margin: 0 0 14px !important;
  color: #6b7280 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.faq-section .faq-newsletter-form {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
}

.faq-section .faq-newsletter-form input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: 40px !important;
  padding: 0 12px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  color: #1f2937 !important;
  background-color: #ffffff !important;
  font-size: 12.5px !important;
}

.faq-section .faq-newsletter-form input::placeholder {
  color: #9ca3af !important;
}

.faq-section .faq-newsletter-submit {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  background-color: #00a859 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.faq-section .faq-newsletter-submit:hover {
  background-color: #5e8c35 !important;
}

/* Custom Dropdowns & Grid Refinements for Commercial Page */
.cp-custom-dropdown {
  position: relative !important;
}

.cp-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
  z-index: 100 !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  padding: 5px !important;
}

.cp-dropdown-menu[hidden] {
  display: none !important;
}

.cp-property-card[hidden] {
  display: none !important;
}

.cp-sale-card-arrow {
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  background-color: #f3f4f6 !important;
  color: #2d3436 !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.cp-sale-card-arrow:hover {
  background-color: #00a859 !important;
  color: #ffffff !important;
}

.cp-sale-card-arrow svg {
  stroke: currentColor !important;
}