/*
Theme Name: Dream Property Posh Child
Template: astra
Version: 1.0
Description: Child theme for dreampropertyposh.com - Nick Lim Property Consultant
*/

/* ===========================
   BRAND COLORS & GLOBAL
=========================== */
:root {
  --gold: #c9a84c;
  --gold-dark: #a8893a;
  --navy: #0d1b2a;
  --navy-light: #1a2f45;
  --white: #ffffff;
  --light-bg: #FAF7F2;
  --text: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --whatsapp: #25d366;
}

body {
  font-family: 'Manrope', 'Work Sans', sans-serif;
  color: var(--text);
}

a { color: var(--gold); }
a:hover { color: var(--gold-dark); }

/* ===========================
   NAV FONT — Raleway
=========================== */
.main-header-menu .menu-item a,
.main-navigation .menu-item a,
#site-navigation .menu-item a,
.ast-main-navigation .menu-item > a,
header .main-navigation a,
.ast-builder-menu .menu-item > a {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px !important;
}

/* ===========================
   BUTTONS
=========================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}
.btn-gold:hover { background: var(--gold-dark); color: var(--white) !important; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-whatsapp:hover { background: #1da851; color: var(--white) !important; }

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-navy:hover { background: var(--navy-light); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold) !important;
  padding: 11px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--gold); color: var(--white) !important; }

/* ===========================
   FLOATING WHATSAPP
=========================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.5);
  color: var(--white);
}
.floating-whatsapp svg { width: 22px; height: 22px; fill: white; }

/* ===========================
   PROPERTY ARCHIVE PAGE
=========================== */
/* ═══════════════════════════════════════
   PROPERTY ARCHIVE — New Layout
═══════════════════════════════════════ */
/* ═══════════════════════════════════════════
   PROPERTY ARCHIVE — full-width layout
═══════════════════════════════════════════ */
.pa-wrap {
  display: block;
  min-height: 80vh;
  font-family: 'Manrope', sans-serif;
  background: #f5f5f3;
  padding: 32px 36px 56px;
}

/* ── Top controls: search bar + state pills ── */
.pa-controls {
  margin-bottom: 24px;
}

/* Search bar — full width, prominent */
.pa-search {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  max-width: 640px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pa-search:focus-within {
  border-color: #C8913A;
  box-shadow: 0 2px 14px rgba(200,145,58,0.18);
}
.pa-search-icon {
  margin-left: 16px;
  color: #bbb;
  flex-shrink: 0;
}
.pa-search input {
  flex: 1;
  padding: 14px 12px;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: #333;
}
.pa-search input::placeholder { color: #bbb; }
.pa-search button {
  background: #C8913A;
  border: none;
  padding: 0 22px;
  height: 100%;
  min-height: 50px;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: background 0.2s;
  white-space: nowrap;
}
.pa-search button:hover { background: #b07d30; }

/* State pills row */
.pa-state-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pa-state-pills li a {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1.5px solid #ddd;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  transition: all 0.18s;
  line-height: 1.4;
}
.pa-state-pills li a:hover {
  border-color: #C8913A;
  color: #C8913A;
  background: #fff8f0;
}
.pa-state-pills li.active a {
  background: #C8913A;
  border-color: #C8913A;
  color: #fff;
}

/* ── Filter row ── */
.pa-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8e8e8;
}
.pa-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.pa-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pa-filter-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid #ddd;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  transition: all 0.18s;
  line-height: 1.4;
}
.pa-filter-pill:hover {
  border-color: #C8913A;
  color: #C8913A;
}
.pa-filter-pill.active {
  background: #0D1B2A;
  border-color: #0D1B2A;
  color: #fff;
}
.pa-filter-freehold.active {
  background: #2a7a4b;
  border-color: #2a7a4b;
  color: #fff;
}
.pa-filter-divider {
  width: 1px;
  height: 20px;
  background: #e0e0e0;
  align-self: center;
}

/* ── Topbar: breadcrumb + count ── */
.pa-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.pa-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
}
.pa-breadcrumb a { color: #C8913A; text-decoration: none; font-weight: 600; }
.pa-breadcrumb a:hover { text-decoration: underline; }
.pa-bc-active { color: #333; font-weight: 600; }
.pa-result-count { font-size: 13px; color: #999; }

/* ── Grid ── */
.pa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* Few results — bigger cards, left-aligned */
.pa-grid--single { grid-template-columns: repeat(2, 1fr); }
.pa-grid--single .pa-card-img-wrap { height: 360px; }
.pa-grid--two   { grid-template-columns: repeat(2, 1fr); }
.pa-grid--three { grid-template-columns: repeat(3, 1fr); }

/* ── Card (Style E — Magazine overlay) ── */
.pa-card {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
  display: block;
  text-decoration: none;
}
.pa-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}

.pa-card-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  height: 300px;
}
.pa-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(200,145,58,0.08) 0%, rgba(0,0,0,0.82) 100%);
}

.pa-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s;
}
.pa-card:hover .pa-card-img { transform: scale(1.06); }

.pa-card-no-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2a3a, #0D1B2A);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pa-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 18px 16px;
  z-index: 1;
}

.pa-card-title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 5px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.pa-card-loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pa-card-loc svg {
  flex-shrink: 0;
}

.pa-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pa-card-sqft {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.pa-details-btn {
  background: #C8913A;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
  line-height: 1.4;
}
.pa-details-btn:hover { background: #b07d30; color: #fff; }

.pa-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: #aaa;
  font-size: 15px;
}
.pa-empty a { color: #C8913A; }

.pa-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pa-pagination .page-numbers {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.pa-pagination .page-numbers.current { background: #0D1B2A; color: #fff; border-color: #0D1B2A; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .pa-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pa-wrap { padding: 20px 16px 40px; }
  .pa-grid { grid-template-columns: repeat(2, 1fr); }
  .pa-grid--single { grid-template-columns: 1fr; }
  .pa-search { max-width: 100%; }
}
@media (max-width: 500px) {
  .pa-wrap { padding: 12px 10px 40px; }
  /* 2 columns on mobile */
  .pa-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pa-grid--single { grid-template-columns: repeat(2, 1fr); }
  .pa-grid--two { grid-template-columns: repeat(2, 1fr); }
  .pa-grid--three { grid-template-columns: repeat(2, 1fr); }
  /* Shorter card height for 2-col */
  .pa-card-img-wrap { height: 180px; }
  .pa-card { border-radius: 10px; }
  .pa-card-overlay { padding: 10px; }
  .pa-card-title { font-size: 11px; font-weight: 700; margin-bottom: 3px; }
  .pa-card-loc { font-size: 10px; margin-bottom: 8px; gap: 3px; }
  .pa-card-footer { flex-direction: column; align-items: flex-start; gap: 5px; }
  .pa-card-sqft { font-size: 10px; }
  .pa-details-btn { font-size: 10px; padding: 4px 10px; }
  /* Search + pills compact */
  .pa-search { margin-bottom: 10px; }
  .pa-search input { font-size: 13px; padding: 10px 10px; }
  .pa-search button { min-height: 42px; padding: 0 14px; font-size: 12px; }
  .pa-state-pills { gap: 6px; margin-bottom: 4px; }
  .pa-state-pills li a { font-size: 11px; padding: 5px 12px; }
  .pa-topbar { margin-bottom: 12px; }
  .pa-result-count { font-size: 12px; }
}

/* ── LEGACY: keep old .property-archive-wrap styles below intact ── */
.property-archive-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 28px;
}

/* ── Top bar: title left, search right ── */
.property-archive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.property-archive-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.property-archive-header p {
  color: var(--text-light);
  font-size: 14px;
  margin: 4px 0 0;
}

/* Search bar — sits right side of header */
.property-search-bar {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  min-width: 280px;
  background: #fff;
}

.property-search-bar input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
}

.property-search-bar button {
  background: var(--gold);
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
}

/* ── State filter pills (horizontal row) ── */
.property-archive-layout {
  display: block;
}

.property-sidebar {
  margin-bottom: 24px;
}

.sidebar-title { display: none; }

.state-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.state-filter-list li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 40px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: #555;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}

.state-filter-list li a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.state-filter-list li a.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.state-filter-list li a .count {
  background: rgba(255,255,255,0.2);
  color: inherit;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 20px;
  font-weight: 700;
}

.state-filter-list li a.active .count {
  background: rgba(255,255,255,0.25);
}

/* ── Property Archive Grid + Cards ── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-content: start;
}

.property-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.property-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.property-card:hover .property-card-img { transform: scale(1.04); }

.property-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #aaa;
}

.property-card-body {
  padding: 16px 18px 12px;
  flex: 1;
  color: inherit;
}

.property-card-state {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #C8913A;
  background: rgba(200,145,58,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.property-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 6px;
  line-height: 1.3;
}

.property-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.property-card-footer {
  padding: 12px 18px 16px;
  display: flex;
  gap: 10px;
  border-top: 1px solid #f5f5f5;
}

.property-card-footer .btn-whatsapp {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25D366;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.property-card-footer .btn-outline {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #0D1B2A;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #e5e5e5;
}
.property-card-footer .btn-outline:hover { background: #ebebeb; }

.no-properties {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
}

/* Property Grid */
/* ── Option A Overlay Property Cards ── */
.hp-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hp-prop-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  border: 1.5px solid #C8913A;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 16px rgba(200,145,58,0.35);
  cursor: pointer;
  transition: transform 0.35s, box-shadow 0.35s;
}

.hp-prop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28), 0 0 24px rgba(200,145,58,0.5);
}

.hp-prop-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hp-prop-card:hover .hp-prop-card-img {
  transform: scale(1.06);
}

.hp-prop-no-img {
  background: linear-gradient(135deg, #2c3e50, #1a2744);
}

.hp-prop-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,27,42,0.95) 0%,
    rgba(13,27,42,0.45) 50%,
    transparent 100%
  );
}

.hp-prop-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
}

.hp-prop-card-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.hp-prop-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.hp-prop-title-loc {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.hp-prop-card-loc {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.hp-prop-card-specs {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
  justify-content: space-between;
  white-space: nowrap;
  overflow: hidden;
}
.hp-prop-specs-left {
  display: flex;
  align-items: center;
  gap: 3px 5px;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.hp-prop-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.hp-prop-card-specs .hp-prop-dot {
  color: rgba(255,255,255,0.3);
}

.hp-prop-card-specs .hp-prop-date {
  color: var(--gold);
  font-weight: 700;
}

.hp-prop-card-specs .hp-prop-type {
  color: var(--gold);
  font-weight: 600;
}

.hp-prop-type-right {
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.hp-prop-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hp-prop-card-btns {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.hp-prop-btn-wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.hp-prop-btn-wa:hover {
  background: #1ebe5a;
  color: #fff;
}

.hp-prop-btn-view {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 9px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.hp-prop-btn-view:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* No Properties Found */
.no-properties {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

/* ===========================
   SINGLE PROPERTY PAGE
=========================== */
.single-property-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

/* Breadcrumb */
.property-breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.property-breadcrumb a { color: var(--gold); text-decoration: none; }
.property-breadcrumb .sep { color: var(--border); }

/* Hero Image */
.property-hero {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.property-hero img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.property-hero-placeholder {
  width: 100%;
  height: 450px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 16px;
  border-radius: 10px;
}

/* Title & Actions */
.property-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.property-title-row h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  flex: 1;
  margin: 0;
}

.property-state-badge {
  display: inline-block;
  background: var(--light-bg);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.property-cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* Property Details Grid */
.property-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--light-bg);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.property-detail-item {}

.property-detail-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.property-detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

/* Description */
.property-description {
  margin-bottom: 30px;
}

.property-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.property-unit-size {
  margin: 32px 0;
}

.property-unit-size-content {
  background: #f8f8f8;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  font-size: 14px;
  color: #444;
  line-height: 2;
}

.property-description-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.property-description-content p { margin-bottom: 16px; }

/* Lead Form */
.property-lead-form {
  background: var(--navy);
  border-radius: 10px;
  padding: 36px;
  color: white;
  margin-bottom: 40px;
}

.property-lead-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.property-lead-form p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  font-size: 14px;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.lead-form-grid input,
.lead-form-grid select,
.property-lead-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.lead-form-grid input::placeholder,
.property-lead-form textarea::placeholder { color: rgba(255,255,255,0.5); }

.lead-form-grid select option { color: var(--text); background: white; }

.property-lead-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  height: 100px;
  resize: none;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.lead-form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.lead-form-submit:hover { background: var(--gold-dark); }

.form-privacy {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
}

/* Related Properties */
.related-properties { margin-top: 40px; }

.related-properties h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===========================
   MOBILE RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .property-archive-layout { display: block; }
  .property-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-prop-grid { grid-template-columns: repeat(2, 1fr); }
  .property-details-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .property-archive-layout { display: block; }
  .property-sidebar { margin-bottom: 16px; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-prop-grid { grid-template-columns: 1fr; }
  .hp-prop-card { height: 360px; }

  .property-hero img { height: 260px; }
  .property-hero-placeholder { height: 260px; }

  .property-title-row { flex-direction: column; }
  .property-title-row h1 { font-size: 22px; }

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

  .lead-form-grid { grid-template-columns: 1fr; }

  .property-lead-form { padding: 24px 20px; }

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

  .floating-whatsapp span { display: none; }
  .floating-whatsapp {
    padding: 14px;
    border-radius: 50%;
    width: 52px;
    height: 64px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .property-archive-header h1 { font-size: 24px; }
  .property-cta-row { flex-direction: column; }
  .property-cta-row .btn-whatsapp,
  .property-cta-row .btn-navy { justify-content: center; }
}

/* ===========================
   HOMEPAGE STYLES
=========================== */

/* ── Homepage wrapper — breaks out of Astra containers ── */
.dposh-homepage {
  display: block;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow-x: hidden;
}

/* ── Force full-width for all homepage sections ── */
.hp-hero, .hp-stats, .hp-states, .hp-featured,
.hp-about, .hp-why, .hp-cta {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box;
}

/* ── Hero ── */
.hp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--navy) center/cover no-repeat;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.70) 0%, rgba(13,27,42,0.45) 100%);
}
.hp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 40px 24px;
}
.hp-hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.hp-hero-title {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hp-hero-title span { color: var(--gold); }
.hp-hero-sub {
  font-size: clamp(15px, 2.5vw, 18px);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hp-hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hp-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Bar ── */
.hp-stats {
  background: var(--navy);
  padding: 0;
}
.hp-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px;
}
.hp-stat-item {
  padding: 28px 40px;
  text-align: center;
}
.hp-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hp-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hp-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ── Section Shared ── */
.hp-section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.hp-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.hp-section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 10px;
}
.hp-section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  text-align: center;
}

/* ── States ── */
.hp-states { padding: 80px 20px; background: var(--white); }
.hp-states-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}
.hp-state-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  text-decoration: none;
  transition: all 0.2s;
  background: var(--white);
}
.hp-state-card:last-child { border-bottom: none; }
.hp-state-card:hover {
  background: rgba(201,168,76,0.06);
  padding-left: 32px;
}
.hp-state-card.hp-state-soon { opacity: 0.45; pointer-events: none; }
.hp-state-icon { font-size: 22px; flex-shrink: 0; }
.hp-state-name { font-size: 15px; font-weight: 600; color: var(--navy); flex: 1; }
.hp-state-count {
  font-size: 13px; color: var(--gold); font-weight: 600;
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
}
.hp-state-count::after {
  content: '→';
  color: var(--border);
  font-size: 16px;
}

/* ── Featured Properties ── */
.hp-featured {
  padding: 80px 20px;
  background: transparent;
}

/* ── Leaf wrapper — covers both Featured + Why sections ── */
.hp-leaf-wrap {
  position: relative;
  overflow: hidden;
  background-color: var(--light-bg);
}

.hp-leaf-wrap::before {
  content: none;
}

.hp-leaf-wrap::after {
  content: none;
}

/* Content above leaves */
.hp-featured .hp-section-wrap,
.hp-why .hp-section-wrap {
  position: relative;
  z-index: 2;
}

.hp-prop-card-link,
.hp-prop-card-btns {
  position: relative;
  z-index: 2;
}

/* ── About ── */
.hp-about { padding: 80px 20px; background: var(--white); }
.hp-about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
}
.hp-about-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13,27,42,0.15);
}
.hp-about-photo {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  object-position: center 18%;
  height: 480px;
  display: block;
  transform: scale(1.22);
  transform-origin: center 18%;
}
.hp-about-badge-card {
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 10px 0 10px 0;
  background: var(--gold);
  color: white;
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(201,168,76,0.4);
}
.hp-about-badge-num { font-size: 15px; font-weight: 800; }
.hp-about-badge-text { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.hp-about-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 24px;
}
.hp-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hp-about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

/* ── Why Grid ── */
.hp-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hp-why-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.hp-why-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.hp-why-icon { font-size: 40px; margin-bottom: 16px; }
.hp-why-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.hp-why-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin: 0; }

/* ── Final CTA ── */
/* ===========================
   TESTIMONIALS
=========================== */
.hp-testimonials { padding: 80px 20px; background: #fff; }
.hp-testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.hp-testi-card {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s;
}
.hp-testi-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.hp-testi-stars { color: #f5a623; font-size: 18px; letter-spacing: 2px; }
.hp-testi-quote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.hp-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.hp-testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.hp-testi-name { font-weight: 700; font-size: 15px; color: var(--navy); }
.hp-testi-tag { font-size: 12px; color: var(--gold); font-weight: 500; margin-top: 2px; }
.hp-testi-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

@media (max-width: 1024px) {
  .hp-testi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hp-testi-grid { grid-template-columns: 1fr; }
}

.hp-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 20px;
  text-align: center;
}
.hp-cta-inner { max-width: 700px; margin: 0 auto; }
.hp-cta-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.hp-cta-logo-wrap { margin-bottom: 28px; }
.hp-cta-social { display: flex; gap: 16px; justify-content: center; margin-bottom: 36px; }
.hp-cta-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; transition: border-color 0.2s; }
.hp-cta-social a:hover { border-color: var(--gold); }
.hp-cta-disclaimer { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; margin-top: 8px; }
.hp-cta-disclaimer p { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.8; letter-spacing: 0.3px; }
.hp-cta h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: white; margin-bottom: 14px; }
.hp-cta p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }

/* ── Homepage Mobile ── */
@media (max-width: 1024px) {
  .hp-why-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-about-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hp-states-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hp-hero { min-height: 100svh; }
  .hp-stat-item { padding: 20px 24px; }
  .hp-stat-divider { display: none; }
  .hp-stats-inner { gap: 0; }
  .hp-states-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hp-state-card { padding: 16px 8px; }
  .hp-state-icon { font-size: 22px; }
  .hp-about-grid { grid-template-columns: 1fr; }
  .hp-about-photo { height: 300px; }
  .hp-about-badge-card { right: 10px; bottom: -10px; }
  .hp-why-grid { grid-template-columns: 1fr 1fr; }
  .hp-hero-cta { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .hp-states-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hp-state-name { font-size: 11px; }
  .hp-why-grid { grid-template-columns: 1fr; }
  .hp-stat-num { font-size: 26px; }
}

/* ── Dream Property Posh — SVG Logo ── */
.dposh-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}
.dposh-logo-svg {
    height: 44px;
    width: auto;
    filter: none !important;
    -webkit-filter: none !important;
    color: unset !important;
    max-width: none !important;
    overflow: visible;
    display: block;
}
@media (min-width: 769px) {
    .dposh-logo-svg { height: 48px; }
}
@media (max-width: 768px) {
    .dposh-logo-svg { height: 38px; }
}

/* ── Header height / padding reduction ── */
.site-header { padding: 0 !important; }
#masthead { padding: 0 !important; }
.main-header-bar,
.ast-primary-header-bar,
.ast-site-header-wrap .main-header-bar {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    min-height: 0 !important;
    height: auto !important;
}
.ast-header-break-point .ast-primary-header-bar {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}
/* Mobile menu toggle button — smaller */
.ast-button-wrap .menu-toggle,
button.menu-toggle,
.ast-mobile-menu-trigger-minimal {
    padding: 6px !important;
    width: 36px !important;
    height: 36px !important;
    min-height: unset !important;
}
.ast-button-wrap {
    padding: 0 !important;
}
/* logo container */
.ast-site-header-wrap .site-branding,
#masthead .ast-logo-svg-container,
.custom-logo-link,
.ast-header-logo-img {
    line-height: 1 !important;
}

/* ── PRE-LAUNCH BANNER ─────────────────────────────────────────────────────── */
.hp-prelaunch { background:#f2f2f0; padding:40px 20px; }
.hp-prelaunch-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.hp-prelaunch-left { flex:1; min-width:260px; }
.hp-prelaunch-title { font-size:28px; font-weight:800; color:#0D1B2A; margin:0 0 10px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; line-height:1.2; }
.hp-prelaunch-title span:not(.hp-prelaunch-line) { color:#C8913A; }
.hp-prelaunch-line { display:inline-block; width:48px; height:3px; background:#C8913A; border-radius:2px; flex-shrink:0; margin-left:4px; }
.hp-prelaunch-sub { font-size:14px; color:#666; margin:0; line-height:1.7; }
.hp-prelaunch-btn { display:inline-block; background:#C8913A; color:#fff; font-size:15px; font-weight:700; padding:14px 32px; border-radius:50px; text-decoration:none; white-space:nowrap; transition:background 0.2s; flex-shrink:0; }
.hp-prelaunch-btn:hover { background:#b8812a; color:#fff; }
@media(max-width:640px) { .hp-prelaunch-title { font-size:22px; } .hp-prelaunch-btn { width:100%; text-align:center; } }

/* ===========================
   BLOG LISTING — Horizontal Card (text left, image right)
=========================== */
.blog .post-content.ast-grid-common-col,
.home.blog .post-content.ast-grid-common-col {
  display: grid !important;
  grid-template-columns: 1fr 260px !important;
  column-gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 28px !important;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.blog .post-content.ast-grid-common-col:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.10); }

/* Image — force to right column, span all rows */
.blog .post-content .ast-blog-featured-section {
  grid-column: 2 !important;
  grid-row: 1 / span 10 !important;
  margin: 0 !important;
}
.blog .post-content .ast-blog-featured-section img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block;
}

/* All other children — left column */
.blog .post-content > *:not(.ast-blog-featured-section) {
  grid-column: 1 !important;
}

/* Title styling */
.blog .post-content .entry-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
  text-transform: none !important;
}
.blog .post-content .entry-title a { color: #0D1B2A !important; text-decoration: none; }
.blog .post-content .entry-title a:hover { color: #C8913A !important; }

/* Meta (categories, date) */
.blog .post-content .entry-header { margin: 0 0 10px !important; }
.blog .post-content .ast-blog-meta-container .posted-on,
.blog .post-content .ast-blog-meta-container .cat-links a { font-size: 12px !important; color: #999 !important; }
.blog .post-content .cat-links a { color: #C8913A !important; }

/* Excerpt */
.blog .post-content .entry-content { font-size: 14px !important; color: #666 !important; line-height: 1.7 !important; margin: 0 0 14px !important; }
.blog .post-content .entry-content p { margin: 0 !important; }

/* Read More link */
.blog .post-content .ast-read-more-container a,
.blog .post-content .read-more {
  color: #C8913A !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Blog page wrapper — constrain readable width but keep full-width background */
.blog #content .ast-container { max-width: 960px !important; margin: 0 auto !important; padding: 48px 24px !important; }

/* Mobile: stack vertically */
@media(max-width: 640px) {
  .blog .post-content.ast-grid-common-col { grid-template-columns: 1fr !important; }
  .blog .post-content .ast-blog-featured-section { grid-column: 1 !important; grid-row: auto !important; }
  .blog .post-content .ast-blog-featured-section img { height: 200px !important; }
}
