/* =====================================================
   Luxven Listing UI — Bayut-like Filter Bar (CLEAN)
   - Adds chevrons to selects (visible dropdown arrows)
   - Adds "More Filters" ghost button with sliders icon
   - Keeps your current card/list styles unchanged
   ===================================================== */

/* Base wrapper */
.lx-wrap{max-width:1200px;margin:0 auto;padding:18px 16px}

/* -----------------------------------------------------
   FILTER BAR (Bayut-like)
   Works with your current markup:
   .lx-bar > form (inline style can stay)
----------------------------------------------------- */
.lx-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}

/* Normalize */
.lx-pill,.lx-select,.lx-input{
  height:40px;
  border:1px solid var(--lux-border);
  border-radius:12px;
  background:#fff;
  padding:0 12px;
  font-size:14px;
  color:var(--lux-text);
}

/* Selects: force dropdown chevron (like Bayut) */
.lx-select{
  padding-right:38px;                /* room for chevron */
  -webkit-appearance:none;
  appearance:none;
  background-color:#fff;
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:14px 14px;
  /* chevron-down svg */
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b0b0c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.lx-select:focus{
  border-color: var(--lux-gold-solid);
  box-shadow: 0 0 0 4px rgba(202,162,74,.14);
  outline:none;
}

/* Inputs */
.lx-input{ width:120px; }
.lx-input:focus{
  border-color: var(--lux-gold-solid);
  box-shadow: 0 0 0 4px rgba(202,162,74,.14);
  outline:none;
}

/* Location pill */
.lx-pill{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:240px;
  max-width:360px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

/* Buttons */
.lx-btn{
  height:40px;
  border-radius:12px;
  border:1px solid rgba(202,162,74,.55);
  background:var(--lux-black);
  color:var(--lux-gold);
  padding:0 14px;
  cursor:pointer;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.lx-btn:hover{ background: var(--lux-black-light); }

.lx-btn-ghost{
  background:#fff;
  color:var(--lux-black);
  border:1px solid var(--lux-border);
}
.lx-btn-ghost:hover{
  border-color: rgba(202,162,74,.35);
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
}

/* "More Filters" button (sliders icon like Bayut) */
.lx-more-btn{ padding:0 14px !important; }
.lx-more-btn::after{
  content:"";
  width:16px;height:16px;
  display:inline-block;
  opacity:.8;
  background-repeat:no-repeat;
  background-size:16px 16px;
  /* sliders icon */
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b0b0c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='21' x2='4' y2='14'/%3E%3Cline x1='4' y1='10' x2='4' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12' y2='3'/%3E%3Cline x1='20' y1='21' x2='20' y2='16'/%3E%3Cline x1='20' y1='12' x2='20' y2='3'/%3E%3Cline x1='1' y1='14' x2='7' y2='14'/%3E%3Cline x1='9' y1='8' x2='15' y2='8'/%3E%3Cline x1='17' y1='16' x2='23' y2='16'/%3E%3C/svg%3E");
}

/* Desktop layout: single row like Bayut */
@media (min-width: 981px){
  .lx-bar form{
    display:flex !important;
    gap:12px !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    width:100% !important;
  }

  /* fixed widths (Bayut-like) */
  .lx-bar select[name="purpose"]{ min-width:92px; }
  .lx-bar select[name="status"]{ min-width:110px; }
  .lx-bar select[name="type"]{ min-width:160px; }
  .lx-bar select[name="beds"]{ min-width:130px; }

  /* right group */
  .lx-bar form > div[style*="margin-left:auto"]{
    margin-left:auto !important;
    display:flex !important;
    gap:12px !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
  }

  .lx-bar input[name="min"],
  .lx-bar input[name="max"]{ width:120px; }
}

/* Mobile: Bayut horizontal scroll chips */
@media (max-width: 980px){
  .lx-bar form{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
    gap:10px !important;
    padding-bottom:6px;
    width:100% !important;
  }
  .lx-bar form::-webkit-scrollbar{ height:0; }
  .lx-bar form{ scrollbar-width:none; }

  .lx-bar .lx-select,
  .lx-bar .lx-input,
  .lx-bar .lx-pill,
  .lx-bar .lx-btn{ flex:0 0 auto !important; }

  .lx-bar .lx-pill{ min-width:220px; max-width:260px; }
  .lx-bar input[name="min"], .lx-bar input[name="max"]{ width:120px; }

  .lx-bar form > div[style*="margin-left:auto"]{
    margin-left:0 !important;
    flex:0 0 auto !important;
  }
}

/* -----------------------------------------------------
   HEAD / SUBLOCS / LIST / CARDS (unchanged)
----------------------------------------------------- */
.lx-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:14px}
.lx-h1{margin:0;font-size:24px;line-height:1.2}
.lx-sub{color:var(--lux-muted);font-size:13px;margin-top:6px}

.lx-sublocs{
  margin-top:14px;
  border:1px solid var(--lux-border);
  border-radius:var(--lux-r-lg);
  background:#fff;
  padding:12px;
  box-shadow:var(--lux-shadow-sm);
}
.lx-sublocs-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.lx-sublocs-title h3{margin:0;font-size:14px}
.lx-sublocs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
@media(max-width:980px){.lx-sublocs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.lx-subloc a{display:flex;justify-content:space-between;gap:10px;text-decoration:none;color:#111;font-size:13px}
.lx-subloc span{color:var(--lux-muted)}

.lx-list{margin-top:14px;display:flex;flex-direction:column;gap:14px}

.lx-card{
  display:grid;
  grid-template-columns:340px 1fr;
  border:1px solid var(--lux-border);
  border-radius:var(--lux-r-lg);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--lux-shadow-sm);
}
@media(max-width:900px){.lx-card{grid-template-columns:1fr}}

.lx-img{background:#f3f4f6;position:relative}
.lx-img img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/10}

.lx-badges{position:absolute;left:12px;top:12px;display:flex;gap:8px;flex-wrap:wrap}
.lx-badge{
  background:rgba(11,11,12,.85);
  color:var(--lux-gold);
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(202,162,74,.35);
  backdrop-filter: blur(4px);
}

.lx-body{padding:14px 16px}
.lx-price{font-size:22px;font-weight:900;margin-bottom:6px;color:#111}
.lx-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--lux-text);font-size:13px}
.lx-title{margin:8px 0 6px;font-size:14px;font-weight:800;line-height:1.35}
.lx-title a{text-decoration:none;color:#111}
.lx-loc{color:var(--lux-muted);font-size:13px;margin-top:6px}
.lx-desc{margin-top:10px;color:rgba(0,0,0,.72);font-size:13px;line-height:1.65}

.lx-actions{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.lx-action{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--lux-border);
  background:#fff;
  text-decoration:none;
  color:#111;
  font-size:13px;
  font-weight:800;
}
.lx-action.is-primary{
  background:var(--lux-black);
  border-color:rgba(202,162,74,.55);
  color:var(--lux-gold);
}

.lx-pagination{margin:18px 0;display:flex;justify-content:center}
.lx-card{ position:relative; cursor:pointer; }
.lx-card-link{ position:absolute; inset:0; z-index:5; display:block; border-radius:inherit; }
.lx-img, .lx-body{ position:relative; z-index:1; }
.lx-title, .lx-actions{ position:relative; z-index:10; }

/* Optional archive hero (if you add it in PHP) */
.lx-archive-hero{
  height:220px;
  border-radius:18px;
  background-size:cover;
  background-position:center;
  border:1px solid var(--lux-border);
  box-shadow: var(--lux-shadow-sm);
  margin: 4px 0 14px;
}
@media(max-width:768px){
  .lx-archive-hero{ height:160px; border-radius:14px; }
}

/* =====================================================
   Pagination (fix "12Next »" + Lux buttons)
   Works for paginate_links() output (.page-numbers)
===================================================== */
.lx-pagination{
  margin:18px 0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.lx-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height:40px;
  min-width:40px;
  padding:0 14px;

  border-radius:12px;
  border:1px solid var(--lux-border, rgba(0,0,0,.08));
  background:#fff;

  color:rgba(0,0,0,.86);
  text-decoration:none;
  font-weight:900;
  letter-spacing:.2px;

  box-shadow: 0 10px 26px rgba(0,0,0,.03);
}

.lx-pagination .page-numbers:hover{
  border-color: rgba(202,162,74,.35);
  box-shadow: 0 14px 30px rgba(0,0,0,.05);
}

.lx-pagination .page-numbers.current{
  background: var(--lux-black);
  color: var(--lux-gold-solid);
  border-color: rgba(202,162,74,.55);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}

.lx-pagination .page-numbers.prev,
.lx-pagination .page-numbers.next{
  min-width:40px;
  padding:0 16px;
}

/* Dots */
.lx-pagination .page-numbers.dots{
  background:transparent;
  border-color:transparent;
  box-shadow:none;
  min-width:auto;
  padding:0 6px;
}

/* Also catch GP default pagination (in case template uses it somewhere) */
.paging-navigation .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  min-width:40px;
  padding:0 14px;
  margin:0 6px 10px 0;

  border-radius:12px;
  border:1px solid var(--lux-border, rgba(0,0,0,.08));
  background:#fff;

  color:rgba(0,0,0,.86);
  text-decoration:none;
  font-weight:900;
}
.paging-navigation .page-numbers.current{
  background: var(--lux-black);
  color: var(--lux-gold-solid);
  border-color: rgba(202,162,74,.55);
}

/* =====================================================
   IMPORTANT OVERRIDES vs global theme styles
   Your main style.css sets inputs/selects to width:100%.
   This forces the Bayut-like bar to stack. Override here.
===================================================== */
.lx-bar .lx-select,
.lx-bar .lx-input,
.lx-bar .lx-pill{
  width:auto !important;
  max-width:none;
  display:inline-flex;
}

.lx-bar select.lx-select{ display:inline-block; }
.lx-bar input.lx-input{ display:inline-block; }

/* Keep bar in one row on desktop */
@media (min-width: 981px){
  .lx-bar form{ flex-wrap:nowrap !important; }
}
/* =====================================================
   PF SINGLE - LUXVEN PREMIUM PATCH (SAFE)
   - Keeps your current working layout
   - Minor luxury calm + consistency with global tokens
===================================================== */

/* Use global tokens if they exist */
body.single-property{
  color: var(--lux-text, rgba(0,0,0,.86));
}

/* Calm section borders/shadows slightly */
body.single-property .pf-left .pf-section{
  border-color: var(--lux-border, rgba(0,0,0,.08)) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.045) !important;
}

/* Sticky header: avoid big hard-coded gaps on desktop */
@media (min-width: 1024px){
  .pf-sticky-header .pf-sticky-left{
    gap: clamp(18px, 18vw, 220px) !important; /* replaces fixed 350px without changing structure */
    justify-content: space-between !important;
  }
}

/* Sidebar: slightly calmer calculator card */
.single-property .pf-mortgage-calculator{
  box-shadow: 0 18px 55px rgba(0,0,0,.06) !important;
}
/* تحسين مرونة شريط البحث */
.lx-bar form {
  display: flex;
  flex-wrap: wrap; /* يسمح بالتفاف العناصر عند ضيق المساحة */
  gap: 8px; /* تقليل المسافات قليلاً */
  align-items: center;
  width: 100%;
}

/* عنصر الموقع (الاسم الطويل) */
.lx-pill {
  flex: 1 1 auto; /* يسمح له بالتمدد والانكماش */
  min-width: 180px; /* تقليل الحد الأدنى */
  max-width: 100%; /* لا يتجاوز العرض المتاح */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px; /* تقليل الحشو */
}

/* تحسين جميع الـ selects والأزرار */
.lx-select,
.lx-input,
.lx-btn {
  flex: 0 1 auto; /* لا تتمدد، ولكن يمكن أن تنكمش */
  min-width: 0; /* يسمح بالانكماش تحت المحتوى */
  white-space: nowrap;
}

/* أزرار "Clear Filters", "More Filters", "Search" */
.lx-btn {
  padding: 0 12px; /* تقليل padding */
  font-size: 13px; /* خط أصغر قليلاً */
}

/* تقليل حجم الخط على الشاشات الصغيرة */
@media (max-width: 768px) {
  .lx-select,
  .lx-btn,
  .lx-input,
  .lx-pill {
    font-size: 12px;
    height: 36px; /* تقليل الارتفاع قليلاً */
  }
  .lx-pill {
    min-width: 150px;
  }
  .lx-btn {
    padding: 0 8px;
  }
}

/* تحسين شريط البحث على الديسكتوب عندما تكون المساحة محدودة */
@media (min-width: 981px) and (max-width: 1200px) {
  .lx-bar form {
    gap: 6px;
  }
  .lx-select,
  .lx-btn {
    padding: 0 8px;
  }
  .lx-pill {
    min-width: 160px;
  }
}
/* =====================================================
   LUXVEN FILTER BAR + MORE FILTERS (UNIFIED) — FINAL
   Applies to: /properties/ + /area/* + /community/*
   Fixes:
   - cropping/cut on right
   - inconsistent bar layouts
   - mobile popup size
   - DONE/RESET sticky inside popup (not sticky to page)
===================================================== */

/* 0) Make sure dropdown can escape (no clipping) */
.lx-wrap,
.lx-bar,
.lx-bar form{
  overflow: visible !important;
}

/* Some theme wrappers may clip dropdown */
.archive #content.site-content,
.tax-area #content.site-content,
.tax-community #content.site-content,
.post-type-archive-property #content.site-content{
  overflow: visible !important;
}

/* 1) Flex shrink fix (prevents pushing stuff out of view) */
.lx-bar form > *{
  min-width: 0;
}

/* 2) Location pill never forces width */
.lx-bar .lx-pill{
  min-width: 0 !important;
  max-width: 100%;
  display:flex;
  align-items:center;
  gap:8px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

/* 3) Actions wrapper (use .lx-bar-actions in ALL templates) */
.lx-bar-actions{
  margin-left:auto;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  max-width:100%;
}

/* 4) Keep bar controls compact (override global width:100%) */
.lx-bar .lx-select,
.lx-bar .lx-input{
  width:auto !important;
  max-width:none !important;
}

/* =====================================================
   MOBILE FILTER BAR LAYOUT (same everywhere)
===================================================== */
@media (max-width:980px){
  .lx-bar form{
    flex-wrap:wrap !important;
    gap:10px !important;
  }

  /* two columns */
  .lx-bar .lx-select,
  .lx-bar details.lx-more,
  .lx-bar .lx-bar-actions{
    flex: 1 1 calc(50% - 10px) !important;
    width:auto !important;
  }

  /* pill full width */
  .lx-bar .lx-pill{
    flex: 1 1 100% !important;
  }

  /* actions full width */
  .lx-bar .lx-bar-actions{
    flex: 1 1 100% !important;
    justify-content: space-between !important;
  }
}

/* =====================================================
   MORE FILTERS (Popup under the button — NOT fixed)
===================================================== */
.lx-more{
  position: relative;
  display: inline-block;
}

/* remove default marker */
.lx-more summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
}
.lx-more summary::-webkit-details-marker{ display:none; }

/* Panel (default open to the right) */
.lx-more-panel{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  z-index: 9999;

  width: 360px;                         /* desktop */
  max-width: calc(100vw - 24px);        /* never exceed viewport */
  min-width: 260px;

  background:#fff;
  border:1px solid var(--lux-border);
  border-radius:16px;
  box-shadow: var(--lux-shadow-md);

  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;

  max-height: 65vh;
  overflow:auto;

  /* IMPORTANT: stop weird stretching */
  transform:none !important;
}

/* allow inner elements shrink */
.lx-more-panel *{ min-width:0; }

/* Inputs/selects 100% inside */
.lx-more-panel .lx-input,
.lx-more-panel .lx-select{
  width:100% !important;
}

/* Price row: compact & stable */
.lx-more-panel .lx-row{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap:8px;
  align-items:center;
}

/* =====================================================
   ACTIONS (Reset / Done) inside panel
===================================================== */
.lx-more-actions{
  display:flex;
  gap:10px;
  margin-top:12px;

  /* stays visible inside the scrolling panel */
  position: sticky;
  bottom: 0;
  background:#fff;
  padding-top:10px;
}
.lx-more-actions .lx-btn{ flex:1; }

/* =====================================================
   MOBILE: smaller popup + smaller controls
===================================================== */
@media (max-width:980px){

  /* base size */
  .lx-more-panel{
    width: 320px;
    max-width: calc(100vw - 24px);
    min-width: 0;
    padding: 14px;
    border-radius: 14px;
  }

  /* If panel would overflow right, JS will add .is-left */
  .lx-more-panel.is-left{
    left: 0 !important;
    right: auto !important;
  }

  /* controls */
  .lx-more-panel .lx-input{
    height: 42px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
  }
  .lx-more-panel .lx-select{
    height: 44px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
  }

  /* actions buttons */
  .lx-more-actions{
    gap: 8px !important;
  }
  .lx-more-actions .lx-btn{
    height: 42px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
  }
}

/* very small screens */
@media (max-width:420px){
  .lx-more-panel{
    width: 290px !important;
  }
}

.lx-area-accordion{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.lx-acc{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  overflow:hidden;
}

.lx-acc summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  font-weight:700;
  color:#111;
  position:relative;
  user-select:none;
}

.lx-acc summary::-webkit-details-marker{
  display:none;
}

.lx-acc summary::after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:20px;
  line-height:1;
}

.lx-acc[open] summary::after{
  content:"−";
}

.lx-acc .lx-area-list{
  margin:0;
  padding:0 18px 16px 34px;
  color:rgba(0,0,0,.78);
}

.lx-area-list li{
  margin:0 0 8px;
  line-height:1.6;
}

@media (max-width:768px){
  .lx-area-accordion{
    grid-template-columns:1fr;
  }
}
.lx-area-more{
  margin: 18px 0 24px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  overflow:hidden;
}

.lx-area-more > summary{
  list-style:none;
  cursor:pointer;
  padding:16px 20px;
  font-weight:700;
  color:#111;
  position:relative;
  user-select:none;
}

.lx-area-more > summary::-webkit-details-marker{
  display:none;
}

.lx-area-more > summary::after{
  content:"+";
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  line-height:1;
}

.lx-area-more[open] > summary::after{
  content:"−";
}

.lx-area-more-inner{
  padding:0 18px 18px;
}
/* =====================================================
   AREA GUIDE - CLEAN FINAL
   Intro + Read More close together
   Search bar stays below with space
===================================================== */

.lx-area-guide{
  width:100%;
  margin:0 0 10px;
}

.lx-area-guide-inner{
  width:100%;
}

.lx-area-lead{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:18px 20px;
  margin:0 0 8px;
  line-height:1.85;
  color:rgba(0,0,0,.82);
}

.lx-area-more{
  display:block;
  width:100%;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  overflow:hidden;
  margin:0;
}

.lx-area-more > summary{
  list-style:none;
  cursor:pointer;
  padding:14px 18px;
  font-weight:800;
  color:#111;
  position:relative;
  user-select:none;
}

.lx-area-more > summary::-webkit-details-marker{
  display:none;
}

.lx-area-more > summary::after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  line-height:1;
}

.lx-area-more[open] > summary::after{
  content:"−";
}

.lx-area-more-inner{
  padding:0 18px 18px;
}

.lx-area-video-row{
  margin:0 0 14px;
}

.lx-area-box{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:18px;
  margin:0 0 16px;
}

.lx-area-box h2{
  margin:0 0 12px;
}

.lx-area-box p{
  margin:0;
  line-height:1.8;
}

.lx-area-accordion{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.lx-acc{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  overflow:hidden;
}

.lx-acc summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  font-weight:700;
  color:#111;
  position:relative;
  user-select:none;
}

.lx-acc summary::-webkit-details-marker{
  display:none;
}

.lx-acc summary::after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:20px;
  line-height:1;
}

.lx-acc[open] summary::after{
  content:"−";
}

.lx-area-list{
  margin:0;
  padding:0 18px 16px 34px;
}

.lx-area-list li{
  margin:0 0 8px;
  line-height:1.6;
}

/* This is what makes search stay visually below */
.lx-bar{
  margin-top:16px;
}

@media(max-width:768px){
  .lx-area-accordion{
    grid-template-columns:1fr;
  }
}
.lx-term-hero-head{
  margin: 14px 0 16px;
}

.lx-term-hero-title{
  margin: 0 0 6px;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #111;
}

.lx-term-hero-sub{
  margin: 0;
  font-size: 14px;
  color: rgba(0,0,0,.62);
  line-height: 1.6;
}

@media (max-width: 768px){
  .lx-term-hero-title{
    font-size: 26px;
  }

  .lx-term-hero-sub{
    font-size: 13px;
  }
}
.lx-term-archive-page{
  padding-top: 8px;
  padding-bottom: 28px;
}

.lx-term-archive-head{
  margin-bottom: 18px;
}

.lx-term-archive-title{
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.1;
  color: #111;
  letter-spacing: -.02em;
}

.lx-term-archive-sub{
  margin: 0;
  color: rgba(0,0,0,.62);
  font-size: 14px;
  line-height: 1.7;
}

.lx-term-archive-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.lx-term-archive-card{
  display: block;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 26px rgba(0,0,0,.04);
}

.lx-term-archive-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.06);
}

.lx-term-archive-media img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.lx-term-archive-body{
  padding: 14px 16px 16px;
}

.lx-term-archive-card-title{
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.35;
  color: #111;
}

.lx-term-archive-card-meta{
  font-size: 13px;
  color: rgba(0,0,0,.62);
}

@media (max-width: 1100px){
  .lx-term-archive-grid{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 768px){
  .lx-term-archive-title{
    font-size: 26px;
  }

  .lx-term-archive-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
  }

  .lx-term-archive-media img{
    height: 170px;
  }
}

@media (max-width: 520px){
  .lx-term-archive-grid{
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   LUX UPDATES ARCHIVE
===================================================== */

.lx-updates-page{
  padding-top: 8px;
}

.lx-updates-hero{
  margin: 0 0 22px;
}

.lx-updates-hero-inner{
  background: #fff;
  border: 1px solid var(--lux-border);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--lux-shadow-sm);
}

.lx-updates-title{
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.15;
  color: #111;
}

.lx-updates-sub{
  margin: 0;
  max-width: 900px;
  color: var(--lux-muted);
  font-size: 15px;
  line-height: 1.8;
}

.lx-updates-section{
  margin-top: 0;
}

.lx-updates-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px){
  .lx-updates-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px){
  .lx-updates-grid{
    grid-template-columns: 1fr;
  }

  .lx-updates-title{
    font-size: 26px;
  }

  .lx-updates-hero-inner{
    padding: 22px 18px;
    border-radius: 16px;
  }
}

.lx-update-card{
  border: 1px solid var(--lux-border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--lux-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lx-update-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.07);
  border-color: rgba(202,162,74,.28);
}

.lx-update-card-link{
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.lx-update-card-media{
  position: relative;
  background: #f3f4f6;
}

.lx-update-card-media img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.lx-update-card-body{
  padding: 16px 16px 18px;
}

.lx-update-card-kicker{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(11,11,12,.06);
  color: rgba(0,0,0,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  margin-bottom: 10px;
}

.lx-update-card-title{
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
  color: #111;
}

.lx-update-card-meta{
  color: rgba(0,0,0,.72);
  font-size: 14px;
  line-height: 1.75;
  min-height: 50px;
}

.lx-update-card-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(202,162,74,.55);
  background: var(--lux-black);
  color: var(--lux-gold);
  font-size: 13px;
  font-weight: 800;
}

/* =====================================================
   SINGLE LUX UPDATE PAGE
===================================================== */

.lx-update-page{
  margin-top: 10px;
}

/* =========================
   HERO
========================= */

.lx-update-hero{
  margin-bottom: 22px;
}

.lx-update-hero-inner{
  background:#fff;
  border:1px solid var(--lux-border);
  border-radius:18px;
  padding:28px 26px;
  box-shadow:var(--lux-shadow-sm);
}

.lx-update-title{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.15;
  color:#111;
}

.lx-update-meta{
  color:var(--lux-muted);
  font-size:14px;
  margin-bottom:10px;
}

.lx-update-intro{
  font-size:15px;
  line-height:1.8;
  color:#444;
  max-width:900px;
}

/* =========================
   RESULTS GRID
========================= */

.lx-update-results{
  margin-top:22px;
}

.lx-update-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

@media (max-width:1100px){
  .lx-update-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:680px){
  .lx-update-grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   PROPERTY CARD FIX
========================= */

.lx-update-grid .lx-card{
  border:1px solid var(--lux-border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  transition:.18s ease;
}

.lx-update-grid .lx-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 38px rgba(0,0,0,.06);
}

/* =========================
   SECTION TITLE
========================= */

.lx-update-section-title{
  font-size:22px;
  margin:0 0 16px;
  font-weight:700;
  color:#111;
}

/* =========================
   CTA BOX
========================= */

.lx-update-cta{
  margin-top:30px;
}

.lx-update-cta-inner{
  border:1px solid var(--lux-border);
  border-radius:16px;
  background:#fff;
  padding:24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.lx-update-cta-text{
  font-size:16px;
  font-weight:600;
}

.lx-update-cta a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  padding:0 18px;
  border-radius:12px;
  background:var(--lux-black);
  color:#fff;
  text-decoration:none;
  font-weight:600;
}

/* =========================
   FAQ
========================= */

.lx-update-faq{
  margin-top:34px;
}

.lx-update-faq h3{
  font-size:20px;
  margin-bottom:16px;
}

.lx-update-faq-item{
  border-top:1px solid var(--lux-border);
  padding:14px 0;
}

.lx-update-faq-item strong{
  display:block;
  margin-bottom:6px;
  font-size:15px;
}

.lx-update-faq-item p{
  margin:0;
  color:#555;
  font-size:14px;
  line-height:1.7;
}

/* =========================
   MOBILE HERO
========================= */

@media (max-width:700px){

  .lx-update-title{
    font-size:26px;
  }

  .lx-update-hero-inner{
    padding:22px 18px;
  }

  .lx-update-cta-inner{
    flex-direction:column;
    align-items:flex-start;
  }

}

/* =====================================================
   SINGLE LUX UPDATE
===================================================== */

.single-lux_update .lx-update-page{
  margin-top: 8px;
}

.single-lux_update .lx-update-hero-card{
  background:#fff;
  border:1px solid var(--lux-border);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--lux-shadow-sm);
  margin-bottom:22px;
}

.single-lux_update .lx-update-cover-wrap{
  width:100%;
  background:#f3f4f6;
}

.single-lux_update .lx-update-cover{
  display:block;
  width:100%;
  aspect-ratio:16 / 6;
  object-fit:cover;
}

.single-lux_update .lx-update-hero-body{
  padding:24px;
}

.single-lux_update .lx-update-breadcrumbs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  font-size:13px;
  color:var(--lux-muted);
  margin-bottom:10px;
}

.single-lux_update .lx-update-breadcrumbs a{
  color:inherit;
  text-decoration:none;
}

.single-lux_update .lx-update-title{
  margin:0 0 14px;
  font-size:34px;
  line-height:1.15;
  color:#111;
}

.single-lux_update .lx-update-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.single-lux_update .lx-update-tag{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(202,162,74,.28);
  background:rgba(11,11,12,.03);
  color:#111;
  font-size:13px;
  font-weight:700;
}

.single-lux_update .lx-update-intro{
  color:rgba(0,0,0,.78);
  font-size:15px;
  line-height:1.85;
  max-width:960px;
}

.single-lux_update .lx-update-intro p{
  margin:0 0 12px;
}

.single-lux_update .lx-update-results-wrap{
  margin-bottom:22px;
}

.single-lux_update .lx-update-results-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.single-lux_update .lx-update-results-title{
  margin:0;
  font-size:25px;
  line-height:1.2;
  color:#111;
}

.single-lux_update .lx-update-results-sub{
  color:var(--lux-muted);
  font-size:14px;
  margin-top:6px;
}

.single-lux_update .lx-update-list{
  margin-top:0;
}

.single-lux_update .lx-update-empty{
  background:#fff;
  border:1px solid var(--lux-border);
  border-radius:16px;
  padding:22px;
  color:var(--lux-muted);
}

.single-lux_update .lx-update-projects-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.single-lux_update .lx-update-project-card{
  border:1px solid var(--lux-border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--lux-shadow-sm);
  transition:.18s ease;
}

.single-lux_update .lx-update-project-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 36px rgba(0,0,0,.06);
}

.single-lux_update .lx-update-project-link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.single-lux_update .lx-update-project-media img{
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
}

.single-lux_update .lx-update-project-body{
  padding:14px;
}

.single-lux_update .lx-update-project-title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.35;
  color:#111;
}

.single-lux_update .lx-update-project-meta{
  color:var(--lux-muted);
  font-size:14px;
  line-height:1.7;
  margin-bottom:8px;
}

.single-lux_update .lx-update-project-price{
  font-size:14px;
  font-weight:800;
  color:#111;
}

.single-lux_update .lx-update-cta-box{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  background:#fff;
  border:1px solid var(--lux-border);
  border-radius:18px;
  padding:22px 24px;
  box-shadow:var(--lux-shadow-sm);
}

.single-lux_update .lx-update-cta-text{
  max-width:760px;
  color:rgba(0,0,0,.78);
  font-size:15px;
  line-height:1.8;
}

.single-lux_update .lx-update-cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

@media (max-width:1100px){
  .single-lux_update .lx-update-projects-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:768px){
  .single-lux_update .lx-update-cover{
    aspect-ratio:16 / 8;
  }

  .single-lux_update .lx-update-hero-body{
    padding:18px;
  }

  .single-lux_update .lx-update-title{
    font-size:27px;
  }

  .single-lux_update .lx-update-results-title{
    font-size:22px;
  }

  .single-lux_update .lx-update-projects-grid{
    grid-template-columns:1fr;
  }

  .single-lux_update .lx-update-cta-box{
    padding:18px;
  }
}
/* =========================
   Location Search Dropdown
========================= */

.lx-location-wrap{
  position:relative;
  min-width:280px;
  flex:1 1 280px;
}

.lx-location-box{
  position:relative;
}

.lx-location-input{
  width:100%;
}

.lx-location-dropdown{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  width:100%;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  padding:10px;
  z-index:1000;
  max-height:320px;
  overflow:auto;
  display:none;
}

.lx-location-box.is-open .lx-location-dropdown{
  display:block;
}

.lx-location-group-title{
  font-size:13px;
  font-weight:800;
  color:#111;
  padding:8px 10px 10px;
}

.lx-location-option{
  width:100%;
  border:0;
  background:#fff;
  text-align:left;
  padding:12px 10px;
  border-radius:12px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:3px;
  transition:background .18s ease;
}

.lx-location-option:hover{
  background:#f6f6f7;
}

.lx-location-main{
  font-size:15px;
  font-weight:700;
  color:#111;
  line-height:1.2;
}

.lx-location-sub{
  font-size:12px;
  color:rgba(0,0,0,.55);
  line-height:1.2;
}

/* nicer scrollbar */
.lx-location-dropdown::-webkit-scrollbar{
  width:8px;
}
.lx-location-dropdown::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,.18);
  border-radius:20px;
}
.lx-location-dropdown::-webkit-scrollbar-track{
  background:transparent;
}

/* Mobile */
@media (max-width:768px){
  .lx-location-wrap{
    min-width:100%;
    flex:1 1 100%;
  }

  .lx-location-dropdown{
    max-height:260px;
    border-radius:16px;
    padding:8px;
  }

  .lx-location-option{
    padding:11px 10px;
  }

  .lx-location-main{
    font-size:14px;
  }
}