/* ==========================================================================
   C2R REALTY - PROPER 99ACRES UNIFIED NAVIGATION BAR & SEARCH
   Authentic Indian Real Estate Discovery Portal Experience
   ========================================================================== */

/* One C2R header — no second marketplace strip */
.c2r-navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--c2r-white);
}

.c2r-navbar-wrapper.is-scrolled {
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
}

.c2r-deskbar-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.c2r-city-pick,
.portal-city-selector,
.city-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  padding: 0 0 0 14px;
  background: none;
  border: 0;
  border-left: 1px solid var(--c2r-border);
  color: var(--c2r-text-secondary);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.c2r-city-pick:hover,
.portal-city-selector:hover,
.city-selector-btn:hover {
  color: var(--c2r-navy-primary);
}

.c2r-nav-account {
  background: none;
  border: 0;
  padding: 0;
  color: var(--c2r-navy-primary);
  font: 700 13px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}

.c2r-nav-account:hover {
  color: var(--c2r-navy-secondary);
}

/* Main Unified Navigation Bar (Sticky 54px) */
.portal-header-main,
.navbar-main {
  background: var(--c2r-white);
  border-bottom: 1px solid var(--c2r-border);
  position: relative;
  z-index: 2;
  width: 100%;
  transition: background var(--transition-fast);
}

.portal-header-main.is-scrolled,
.navbar-main.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
}

.portal-header-row,
.navbar-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.portal-brand-block,
.navbar-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.portal-logo,
.navbar-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

/* Primary Navigation Menu Links (Integrated in Header) */
.navbar-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--c2r-navy-primary);
  text-decoration: none;
  padding: 16px 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--c2r-action);
}

.nav-link.active {
  color: var(--c2r-action);
  font-weight: 800;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 3px;
  border-radius: 6px;
  background: #5B9BD5;
}

.mobile-drawer-link.active {
  color: var(--c2r-gold-champagne);
  font-weight: 800;
}

/* 99acres Dropdown Menus */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  min-width: 210px;
  border: 1px solid var(--c2r-border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(6, 27, 58, 0.14);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1050;
  list-style: none;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--c2r-text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown li a:hover,
.nav-dropdown li a.is-current {
  background: #D6E6F5;
  color: #163A5F;
  font-weight: 800;
}

.nav-dropdown li a.is-current {
  box-shadow: inset 3px 0 0 #5B9BD5;
}

.persona-select {
  background: rgba(255, 255, 255, 0.18);
  color: #F4F7FB;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  font-size: 12px;
  padding: 1px 4px;
  outline: none;
  cursor: pointer;
  color-scheme: light;
}

.persona-select option {
  color: #0F2744;
  background: #F4F7FB;
  font-weight: 600;
}

.listing-section {
  scroll-margin-top: 96px;
  margin-bottom: 12px;
}

.listing-section h2 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  color: #163A5F;
}

.listing-section.is-current h2 {
  box-shadow: inset 0 -3px 0 #5B9BD5;
  display: inline-block;
}

.menu-section-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.menu-section-bar a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 9999px;
  border: 1px solid var(--c2r-border);
  background: var(--c2r-white);
  color: var(--c2r-text-primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.menu-section-bar a.is-current {
  background: #163A5F;
  border-color: #163A5F;
  color: #F4F7FB;
}

.insight-card.is-current {
  border-color: #163A5F !important;
  box-shadow: inset 0 0 0 2px #5B9BD5;
}

/* Quick Search Container in Navbar */
.navbar-quick-search {
  flex: 1;
  max-width: 360px;
  margin: 0 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When on homepage top: collapsed so hero search takes focus */
.navbar-quick-search.navbar-search-collapsed {
  max-width: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.navbar-quick-search.navbar-search-expanded {
  max-width: 360px;
  opacity: 1;
  margin: 0 10px;
  pointer-events: auto;
}

.navbar-search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--c2r-border);
  border-radius: 6px;
  background: #D6E6F5;
  overflow: hidden;
  height: 32px;
}

.navbar-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 5px 10px;
  font-size: 12px;
  outline: none;
  color: var(--c2r-text-primary);
}

.navbar-search-box button {
  background: var(--c2r-action);
  color: #FFFFFF;
  border: none;
  padding: 0 14px;
  height: 100%;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.navbar-search-box button:hover {
  background: #0B1F3A;
}

/* Right Actions Cluster */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-saved-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--c2r-navy-primary);
  font-size: 12px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.nav-saved-btn:hover {
  color: var(--c2r-action);
}

/* Post Property Button (99acres Signature CTA) */
.btn-post-property,
.btn-post-property-gold {
  background: var(--c2r-gold-metallic);
  color: var(--c2r-navy-primary);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(91, 155, 213, 0.25);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-post-property:hover,
.btn-post-property-gold:hover {
  background: var(--c2r-gold-champagne);
  color: var(--c2r-navy-primary);
  transform: translateY(-1px);
}

.badge-free,
.badge-free-tag {
  background: #0F2744;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 6px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .navbar-nav-links {
    gap: 10px;
  }
  .nav-link {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .navbar-nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex !important;
  }
  .navbar-quick-search {
    max-width: 220px;
  }
  .c2r-city-pick {
    display: none;
  }
}

@media (max-width: 600px) {
  .c2r-deskbar-phone {
    display: none;
  }
  .utility-right .persona-picker {
    display: none;
  }
  .navbar-quick-search {
    display: none;
  }
  .nav-saved-btn .saved-text {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   99acres Style Hero Search Banner (Locked to 100vh Single Screen)
   -------------------------------------------------------------------------- */
.portal-hero-container,
.page-hero {
  --hero-image: url('https://images.unsplash.com/photo-1514565131-fce0801e5785?q=80&w=1800&auto=format&fit=crop');
  background-color: #163A5F;
  background-image:
    linear-gradient(118deg, rgba(11, 31, 58, 0.82) 0%, rgba(22, 58, 95, 0.58) 52%, rgba(15, 39, 68, 0.4) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center center;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--c2r-header-h, 82px));
  min-height: calc(100dvh - var(--c2r-header-h, 82px));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroShift 18s ease-in-out infinite alternate;
}

.portal-hero-container {
  flex-direction: column;
  padding: 28px 0;
}

.portal-hero-container.is-home {
  padding: 28px 0;
}

.portal-hero-container > .container,
.page-hero-inner {
  position: relative;
  z-index: 1;
}

.portal-hero-container::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #5B9BD5 35%, #163A5F 70%, transparent);
}

.page-hero {
  padding: 36px 0;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: 42px;
  width: 100%;
}

.page-hero-kicker,
.hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #5B9BD5;
  font-weight: 800;
}

.page-hero h1,
.home-hero-copy h1 {
  color: #fff;
  font-size: 2.25rem;
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 16px;
  font-family: var(--font-body);
  max-width: 16ch;
}

.page-hero p,
.home-hero-copy p {
  margin: 0;
  max-width: 640px;
  color: #F4F7FB;
  font-size: 1.125rem;
  line-height: 1.5;
}

.page-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-hero-points span {
  color: #F4F7FB;
  background: rgba(246, 241, 232, 0.12);
  border: 1px solid rgba(91, 155, 213, 0.55);
  border-radius: 9999px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
}

.page-hero-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(11, 31, 58, 0.62);
  border: 1px solid rgba(91, 155, 213, 0.55);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.28);
}

.page-hero-stat {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(246, 241, 232, 0.1);
}

.page-hero-stat b {
  display: block;
  color: #5B9BD5;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
}

.page-hero-stat span {
  display: block;
  margin-top: 4px;
  color: #F4F7FB;
  font-size: 14px;
  font-weight: 700;
}

.page-hero-meta {
  justify-self: start;
  font-size: 16px;
  font-weight: 800;
  color: #0F2744;
  background: #5B9BD5;
  border-radius: 9999px;
  padding: 8px 14px;
}

.home-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 380px);
  gap: 40px;
  align-items: center;
  width: 100%;
}

.home-hero-aside {
  align-self: center;
}

.home-hero-copy {
  max-width: none;
  text-align: left;
}

.home-hero-copy h1,
.home-hero-copy p {
  margin-left: 0;
  margin-right: 0;
}

.home-hero-copy h1 {
  max-width: 14ch;
}

.home-hero-copy p {
  margin-bottom: 22px;
}

.c2r-band {
  padding: 22px 0;
}

.c2r-page-body {
  padding: 16px 0 32px;
}

@keyframes heroShift {
  from { background-position: center 42%; }
  to { background-position: center 58%; }
}

@media (max-width: 980px) {
  .home-hero-layout {
    grid-template-columns: 1fr;
  }
  .home-hero-aside {
    order: -1;
  }
}

@media (max-width: 760px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
  }
  .page-hero h1,
  .home-hero-copy h1 {
    font-size: 2.2rem;
  }
}

.portal-search-box {
  background: var(--c2r-white);
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 16px 24px 20px 24px;
  max-width: 980px;
  margin: 0 auto;
}

/* 99acres Search Type Tabs */
.portal-search-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid var(--c2r-border);
  margin-bottom: 16px;
}

.portal-tab-btn {
  font-size: 16px;
  font-weight: 700;
  color: var(--c2r-text-secondary);
  background: none;
  border: none;
  padding: 8px 4px 12px 4px;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portal-tab-btn.active {
  color: var(--c2r-navy-primary);
}

.portal-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c2r-gold-metallic);
}

/* Search Bar Input Row */
.portal-search-row {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr auto;
  gap: 12px;
  align-items: center;
}

.portal-input-field {
  width: 100%;
  border: 1px solid var(--c2r-border);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--c2r-text-primary);
  outline: none;
  background: #FAFAFA;
}

.portal-input-field:focus {
  border-color: var(--c2r-gold-metallic);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.15);
}

.portal-search-submit {
  background: #5B9BD5;
  color: #0F2744;
  font-size: 16px;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.portal-search-submit:hover {
  background: #E5A56E;
  color: #0F2744;
}

/* Popular Localities Chips Strip */
.portal-quick-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--c2r-text-secondary);
}

.portal-chip-link {
  background: var(--c2r-ivory-warm);
  border: 1px solid var(--c2r-border);
  padding: 3px 10px;
  border-radius: 16px;
  color: var(--c2r-navy-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.portal-chip-link:hover {
  background: var(--c2r-navy-primary);
  color: var(--c2r-gold-champagne);
  border-color: var(--c2r-navy-primary);
}

/* --------------------------------------------------------------------------
   99acres Authentic Listing Card (Horizontal Real Estate SRP layout)
   -------------------------------------------------------------------------- */
.acres-card {
  background: var(--c2r-white);
  border: 1px solid var(--c2r-border);
  border-radius: 6px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  max-width: 100%;
  min-width: 0;
}

.acres-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-color: #C5D4E4;
}

.acres-card-media {
  width: 280px;
  min-width: 220px;
  max-width: 36%;
  flex: 0 0 280px;
  position: relative;
  background: #163A5F;
  min-height: 180px;
  align-self: stretch;
}

.acres-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acres-card-badge-verified {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #163A5F;
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  text-transform: none;
  letter-spacing: 0;
}

.acres-card-photo-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #FFF;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.acres-card-body {
  padding: 12px 16px 12px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.acres-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.acres-price-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.acres-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--c2r-navy-primary);
  font-family: var(--font-body);
}

.acres-price-sqft {
  font-size: 12px;
  color: var(--c2r-text-secondary);
}

.acres-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c2r-action);
  margin-bottom: 4px;
  line-height: 1.35;
  text-decoration: none;
}

.acres-card-title:hover {
  text-decoration: underline;
  color: var(--c2r-action-deep);
}

.acres-locality {
  font-size: 14px;
  color: var(--c2r-text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 99acres Spec Grid Box */
.acres-specs-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #D6E6F5;
  border: 1px solid #EBEFF2;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 8px;
}

.acres-spec-item {
  display: flex;
  flex-direction: column;
}

.acres-spec-title {
  font-size: 12px;
  color: var(--c2r-text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.acres-spec-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--c2r-navy-primary);
}

.acres-card-desc {
  font-size: 14px;
  color: var(--c2r-text-secondary);
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.acres-card-footer {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--c2r-border-subtle);
  padding-top: 8px;
}

.acres-dealer-tag {
  font-size: 12px;
  color: var(--c2r-text-secondary);
}

.acres-dealer-tag strong {
  color: var(--c2r-navy-primary);
}

.acres-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-contact-seller {
  background: var(--c2r-action);
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.btn-contact-seller:hover {
  background: #0B1F3A;
}

.btn-view-phone {
  background: #FFF;
  color: var(--c2r-action);
  border: 1px solid var(--c2r-action);
  font-size: 14px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-view-phone:hover {
  background: #D6E6F5;
}

/* --------------------------------------------------------------------------
   Authentic 99acres Filter Sidebar (SRP)
   -------------------------------------------------------------------------- */
.acres-filter-panel {
  background: #FFF;
  border: 1px solid var(--c2r-border);
  border-radius: 6px;
  padding: 16px;
}

.acres-filter-section {
  border-bottom: 1px solid var(--c2r-border);
  padding: 14px 0;
}

.acres-filter-section:last-child {
  border-bottom: none;
}

.acres-filter-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--c2r-navy-primary);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bhk-pill-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bhk-pill {
  border: 1px solid var(--c2r-border);
  background: #FFF;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.bhk-pill.active,
.bhk-pill:hover {
  background: var(--c2r-navy-primary);
  color: #FFF;
  border-color: var(--c2r-navy-primary);
}

/* --------------------------------------------------------------------------
   Real Estate Projects Showcase (99acres Top Projects)
   -------------------------------------------------------------------------- */
.project-card {
  background: #FFF;
  border: 1px solid var(--c2r-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.project-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card-body {
  padding: 14px;
}

.project-builder {
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  color: var(--c2r-gold-metallic);
  letter-spacing: 0;
}

.project-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--c2r-navy-primary);
  margin: 2px 0 6px 0;
}

.project-location {
  font-size: 12px;
  color: var(--c2r-text-secondary);
  margin-bottom: 10px;
}

.project-price-range {
  font-size: 16px;
  font-weight: 800;
  color: var(--c2r-navy-primary);
  margin-bottom: 4px;
}

.project-status-tag {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #D6E6F5;
  color: #163A5F;
  font-weight: 600;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Post Property CTA Banner (99acres)
   -------------------------------------------------------------------------- */
.post-property-banner {
  background: linear-gradient(120deg, #0B1F3A 0%, #163A5F 62%, #0F2744 100%);
  color: #FFF;
  border-radius: 6px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  border: 1px solid rgba(91, 155, 213, 0.3);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .acres-card {
    flex-direction: column;
  }

  .acres-card-media {
    width: 100%;
    min-width: 100%;
    max-width: none;
    flex: none;
    height: 180px;
    min-height: 180px;
  }

  .portal-search-row {
    grid-template-columns: 1fr;
  }

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

  .post-property-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* Homepage verified-sale cards: the photo switches sides, and the card fills the row */
.zigzag-listings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.zigzag-listings .acres-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  border-radius: 10px;
}

.zigzag-listings .acres-card:nth-child(even) {
  flex-direction: row-reverse;
}

.zigzag-listings .acres-card-media {
  width: 280px;
  min-width: 0;
  flex: 0 0 280px;
  max-width: 36%;
  min-height: 180px;
}

.zigzag-listings .acres-card-body {
  min-width: 0;
}

@media (max-width: 900px) {
  .zigzag-listings .acres-card,
  .zigzag-listings .acres-card:nth-child(even) {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .zigzag-listings .acres-card-media {
    width: 100%;
    max-width: none;
    flex: none;
    min-width: 0;
    height: 180px;
    min-height: 180px;
  }
}