/* VT Estates – base layout & CSS variables */
:root {
  --vt-accent:       #0368c3;
  --vt-accent-dark:  #0254a0;
  --vt-search-bg:    #edeff1;
  --vt-sidebar-bg:   #dce3e6;
  --vt-dark:         #1d3142;
  --vt-text:         #333;
  --vt-text-light:   #666;
  --vt-border:       #cdd3d8;
  --vt-radius:       4px;
  --vt-shadow:       0 2px 8px rgba(0,0,0,.10);
}

/* Reset */
.vt-page-wrap *, .vt-page-wrap *::before, .vt-page-wrap *::after { box-sizing: border-box; }

/* Page wrapper — matches header width naturally */
.vt-page-wrap {
  width: 100%;
  max-width: 100%;
}

/* Hero two-column */
.vt-hero {
  display: flex;
  align-items: stretch;
}
.vt-search-col {
  flex: 0 0 58%;
  background: var(--vt-search-bg);
  padding: 24px 28px 20px;
}
.vt-sidebar-col {
  flex: 1;
  background: var(--vt-sidebar-bg);
}
.vt-sidebar-inner {
  padding: 20px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Sidebar header row */
.vt-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.vt-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--vt-dark);
  margin: 0;
  line-height: 1.3;
}
.vt-sidebar-more {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--vt-text-light);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.vt-sidebar-more:hover { color: var(--vt-accent); }

/* Private estate cards in sidebar */
.vt-private-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.vt-private-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.55);
  text-decoration: none;
  color: var(--vt-dark);
  transition: background .15s;
}
.vt-private-card:hover { background: rgba(255,255,255,.82); color: var(--vt-dark); }
.vt-private-card__img {
  flex-shrink: 0;
  width: 80px;
  height: 58px;
  overflow: hidden;
  border-radius: var(--vt-radius);
  background: #c8d0d5;
}
.vt-private-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vt-private-card__no-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,#c8d0d5,#b0bcc3);
}
.vt-private-card__info {
  min-width: 0;
}
.vt-private-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 4px;
}
.vt-private-card__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.vt-private-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--vt-accent);
}
.vt-private-card__price-m2 {
  font-size: 11px;
  color: var(--vt-text-light);
}

/* Results section */
.vt-results {
  padding: 20px 28px 40px;
}
.vt-results-header {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--vt-dark);
}
.vt-results-header strong { color: var(--vt-accent); }
.vt-no-results {
  grid-column: 1 / -1;
  padding: 50px 20px;
  text-align: center;
  color: var(--vt-text-light);
  font-size: 15px;
}

/* Grid */
.vt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Pagination */
.vt-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 32px;
  justify-content: center;
}
.vt-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius);
  background: #fff;
  color: var(--vt-text);
  text-decoration: none;
  font-size: 14px;
  transition: all .15s;
}
.vt-pagination__btn:hover { background: var(--vt-accent); color: #fff; border-color: var(--vt-accent); }
.vt-pagination__btn--active { background: var(--vt-accent); color: #fff !important; border-color: var(--vt-accent); font-weight: 700; }

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .vt-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .vt-hero { flex-direction: column; }
  .vt-search-col { flex: 0 0 100%; }
  .vt-sidebar-col { flex: 0 0 100%; }
  .vt-grid { grid-template-columns: repeat(2, 1fr); }
  .vt-private-list { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
  .vt-private-card { min-width: 260px; }
}
@media (max-width: 560px) {
  .vt-results { padding: 16px 14px 30px; }
  .vt-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vt-search-col { padding: 16px 14px; }
}
