/* League Estates luxury listing template (.le-lux) */
body.postid-6026.blog-layout_side-right #secondary,
body.postid-6302.blog-layout_side-right #secondary,
body.single-post.postid-6026 #secondary,
body.single-post.postid-6302 #secondary {
  display: none !important;
}
body.postid-6026 #primary,
body.postid-6302 #primary,
body.postid-6026 .content-area,
body.postid-6302 .content-area,
body.postid-6026 .site-content > .inner-wrap,
body.postid-6302 .site-content > .inner-wrap,
body.postid-6026 .site-content,
body.postid-6302 .site-content,
body.postid-6026 .site-main,
body.postid-6302 .site-main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
body.postid-6026 .entry-content,
body.postid-6302 .entry-content {
  width: min(1280px, 96vw) !important;
  max-width: 96vw !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(0.75rem, 2vw, 1.5rem);
  padding-right: clamp(0.75rem, 2vw, 1.5rem);
  box-sizing: border-box;
  padding-top: 0.5rem !important;
  font-size: 1.2rem;
}
body.postid-6026 .entry-header,
body.postid-6302 .entry-header,
body.postid-6026 .page-with-cover .entry-header,
body.postid-6302 .page-with-cover .entry-header,
body.postid-6026 .has-post-cover .entry-header,
body.postid-6302 .has-post-cover .entry-header {
  display: none !important;
}

.le-lux {
  --navy: #0a2744;
  --navy-2: #123456;
  --gold: #c9a227;
  --gold-soft: #e8d48b;
  --ink: #1a1f26;
  --muted: #4a5563;
  --line: rgba(10, 39, 68, 0.1);
  --paper: #f7f4ef;
  --card: #ffffff;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
}
.le-lux h1, .le-lux h2, .le-lux h3,
.le-lux .le-lux-price, .le-lux .le-lux-stats,
.le-lux .le-btn, .le-lux .le-lux-kicker, .le-lux .le-lux-badge,
.le-photo-acc summary, .le-photo-count, .le-lb-cap, .le-open-house, .le-agent-line {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.le-lux-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.le-lux-kicker.light { color: var(--gold-soft); }

.le-lux-hero {
  text-align: center;
  padding: 2rem 1.25rem 2.5rem;
  margin: 0 0 2.25rem;
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(201,162,39,0.14), transparent 60%),
    linear-gradient(180deg, #fbfaf7 0%, #ffffff 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(10, 39, 68, 0.07);
}
.le-lux-title {
  margin: 0.15rem 0 0.45rem;
  font-size: clamp(2.4rem, 5.2vw, 3.75rem);
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 700;
}
.le-lux-sub {
  margin: 0 auto 1.1rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.45;
}
.le-lux-price {
  margin: 0.4rem 0 1.0rem;
  font-size: clamp(2.25rem, 4vw, 3.1rem);
  font-weight: 800;
  color: var(--navy);
}
.le-open-house {
  display: inline-block;
  margin: 0 auto 1.15rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.16);
  color: #8a6a12;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}
.le-lux-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 52rem;
  margin: 0 auto 1.5rem;
}
@media (min-width: 720px) {
  .le-lux-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.le-lux-stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 0.45rem;
  box-shadow: 0 6px 16px rgba(10,39,68,0.04);
}
.le-lux-stat strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 800;
  line-height: 1.2;
}
.le-lux-stat span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.le-lux-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  align-items: center;
}
.le-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
  line-height: 1.2;
}
.le-btn:hover { transform: translateY(-1px); }
.le-btn-primary {
  background: var(--navy);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(10,39,68,0.22);
}
.le-btn-secondary {
  background: #fff;
  color: var(--navy) !important;
  border-color: rgba(10,39,68,0.16);
}
.le-btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border-color: rgba(10,39,68,0.18);
}
.le-btn-gold {
  background: linear-gradient(135deg, #d4b44a, #b8911c);
  color: #1a1404 !important;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(201,162,39,0.28);
}
.le-btn-on-dark {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.35);
}

.le-lux-section { margin: 0 0 3rem; }
.le-lux-section-head {
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: 48rem;
}
.le-lux-section-head h2 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.2;
  font-weight: 750;
}
.le-lux-lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.le-lux-video-feature {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(10,39,68,0.2);
  margin-bottom: 1.35rem;
}
.le-lux-video-feature .le-lux-video-meta { padding: 1.35rem 1.5rem 1.55rem; }
.le-lux-video-feature h3 {
  margin: 0.4rem 0 0.5rem;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}
.le-lux-video-feature p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 1.12rem;
  line-height: 1.55;
}
.le-lux-badge {
  display: inline-block;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(201,162,39,0.2);
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}
.le-lux-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.le-lux-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}
.le-lux-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 820px) {
  .le-lux-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .le-lux-video-grid.le-lux-video-grid-single {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}
.le-lux-video-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(10,39,68,0.06);
}
.le-lux-video-card h3 {
  margin: 1rem 1.1rem 0.4rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 750;
}
.le-lux-video-card p {
  margin: 0 1.1rem 1.15rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Full-width photo gallery */
body.postid-6026 .le-photo-section,
body.postid-6302 .le-photo-section {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1.5rem clamp(0.75rem, 3vw, 2.5rem) 2.5rem;
  background: linear-gradient(180deg, #f4f1eb 0%, #faf8f5 40%, #fff 100%);
  box-sizing: border-box;
}
body.postid-6026 .le-photo-section .le-lux-section-head,
body.postid-6302 .le-photo-section .le-lux-section-head {
  max-width: 52rem;
}

.le-photo-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 1600px;
  margin: 0 auto 0.85rem;
}
@media (min-width: 700px) {
  .le-photo-preview { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
}
.le-photo-count {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  margin: 0 auto 1.25rem;
  max-width: 40rem;
}
.le-photo-accordions {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.le-photo-acc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10,39,68,0.05);
}
.le-photo-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  background: linear-gradient(180deg, #fff, #faf8f5);
  user-select: none;
}
.le-photo-acc summary::-webkit-details-marker { display: none; }
.le-photo-acc summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  flex: 0 0 auto;
}
.le-photo-acc[open] summary::after { content: "−"; }
.le-photo-acc-title {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 750;
  color: var(--navy);
}
.le-photo-acc-meta {
  margin-left: auto;
  margin-right: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.le-photo-acc summary:hover { background: #f7f4ef; }
.le-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0 0.85rem 1rem;
}
@media (min-width: 700px) {
  .le-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; padding: 0 1.1rem 1.2rem; }
}
@media (min-width: 1100px) {
  .le-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; }
}
.le-photo-thumb {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: #0a2744;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  box-shadow: 0 6px 16px rgba(10,39,68,0.1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.le-photo-thumb:hover,
.le-photo-thumb:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 28px rgba(10,39,68,0.18);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.le-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
}
@media (max-width: 699px) {
  body.postid-6026 .le-photo-section,
  body.postid-6302 .le-photo-section {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  .le-photo-preview { grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .le-photo-thumb { aspect-ratio: 4 / 3; border-radius: 10px; }
  .le-photo-acc summary { padding: 0.95rem 1rem; flex-wrap: wrap; }
  .le-photo-acc-meta { width: 100%; margin: 0.15rem 0 0; order: 3; }
  .le-photo-grid { grid-template-columns: 1fr 1fr; gap: 0.45rem; padding: 0 0.7rem 0.9rem; }
}

html.le-lb-open,
html.le-lb-open body { overflow: hidden !important; }
.le-lb {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.le-lb[hidden] { display: none !important; }
.le-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 22, 0.94);
  cursor: zoom-out;
}
.le-lb-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.le-lb-img {
  max-width: 96vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  background: #000;
  user-select: none;
  -webkit-user-drag: none;
}
.le-lb-cap {
  margin-top: 0.65rem;
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  text-align: center;
}
.le-lb-close,
.le-lb-nav {
  position: absolute;
  z-index: 3;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.le-lb-close:hover,
.le-lb-nav:hover { background: rgba(255,255,255,0.22); }
.le-lb-close {
  top: 1rem; right: 1rem;
  width: 48px; height: 48px;
  font-size: 2rem; line-height: 1;
}
.le-lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}
.le-lb-prev { left: 0.75rem; }
.le-lb-next { right: 0.75rem; }
@media (max-width: 699px) {
  .le-lb-nav {
    width: 44px; height: 44px;
    top: auto; bottom: 1.1rem; transform: none;
  }
  .le-lb-prev { left: calc(50% - 56px); }
  .le-lb-next { right: calc(50% - 56px); left: auto; }
  .le-lb-img { max-height: 78vh; max-width: 100vw; border-radius: 0; }
}

.le-lux-copy .le-lux-dek {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.45;
  color: var(--navy);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 1.75rem;
  font-weight: 500;
}
.le-lux-prose { max-width: 50rem; margin: 0 auto 2rem; }
.le-lux-prose p {
  font-size: clamp(1.15rem, 1.45vw, 1.32rem);
  line-height: 1.8;
  color: #2b3340;
  margin: 0 0 1.25rem;
}
.le-lux-prose strong { color: var(--navy); font-weight: 700; }
.le-lux-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin: 0 0 1.75rem;
}
@media (min-width: 860px) {
  .le-lux-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.le-lux-hl-card {
  background: linear-gradient(180deg, #fff, var(--paper));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: 0 10px 24px rgba(10,39,68,0.05);
}
.le-lux-hl-card h3 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}
.le-lux-hl-card ul { margin: 0; padding: 0; list-style: none; }
.le-lux-hl-card li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.2rem;
  color: #2b3340;
  font-size: 1.08rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(10,39,68,0.06);
}
.le-lux-hl-card li:last-child { border-bottom: 0; }
.le-lux-hl-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85rem;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}
.le-lux-hl-card p {
  margin: 0;
  color: #2b3340;
  font-size: 1.08rem;
  line-height: 1.6;
}
.le-lux-close {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: var(--navy);
  font-weight: 600;
  padding-top: 0.5rem;
}
.le-lux-band {
  display: grid;
  gap: 1.35rem;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #1a3d5c 100%);
  color: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 22px 48px rgba(10,39,68,0.22);
  margin-bottom: 1.75rem;
}
@media (min-width: 820px) {
  .le-lux-band {
    grid-template-columns: 1.3fr 1fr;
    padding: 2.25rem;
  }
  .le-lux-band .le-lux-cta { justify-content: flex-end; }
}
.le-lux-band h2 {
  margin: 0.25rem 0 0.5rem;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.2;
}
.le-lux-band p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
}
.le-contact-form-wrap .le-form-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(10, 39, 68, 0.1);
  border-radius: 18px;
  padding: 1.25rem 1.35rem 1.5rem;
  box-shadow: 0 14px 36px rgba(10, 39, 68, 0.08);
}
body.postid-6302 .le-form-card .wpforms-container,
body.postid-6302 .le-form-card .wpforms-field-label,
body.postid-6302 .le-form-card input,
body.postid-6302 .le-form-card textarea,
body.postid-6302 .le-form-card select {
  color: #1a1f26 !important;
}
body.postid-6302 .le-form-card .wpforms-submit {
  background: #0a2744 !important;
  border-color: #0a2744 !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 700 !important;
}
.le-lux-brand { text-align: center; padding: 0.5rem 0 1rem; }
.le-lux-brand img {
  max-width: 260px;
  width: 55%;
  height: auto;
  margin: 0 auto;
  opacity: 0.95;
}
.le-agent-line {
  margin: 0.5rem 0 0;
  color: #4a5563;
  font-size: 1.05rem;
}
/* Expanded listing post chrome */
body.postid-6097.blog-layout_side-right #secondary,
body.postid-4271.blog-layout_side-right #secondary,
body.postid-3271.blog-layout_side-right #secondary,
body.single-post.postid-6097 #secondary,
body.single-post.postid-4271 #secondary,
body.single-post.postid-3271 #secondary { display: none !important; }
body.postid-6097 #primary, body.postid-4271 #primary, body.postid-3271 #primary,
body.postid-6097 .content-area, body.postid-4271 .content-area, body.postid-3271 .content-area,
body.postid-6097 .site-content > .inner-wrap, body.postid-4271 .site-content > .inner-wrap, body.postid-3271 .site-content > .inner-wrap,
body.postid-6097 .site-content, body.postid-4271 .site-content, body.postid-3271 .site-content,
body.postid-6097 .site-main, body.postid-4271 .site-main, body.postid-3271 .site-main {
  width: 100% !important; max-width: 100% !important; float: none !important;
}
body.postid-6097 .entry-content, body.postid-4271 .entry-content, body.postid-3271 .entry-content {
  max-width: 1100px !important; margin-left: auto !important; margin-right: auto !important;
}
body.postid-6097 .entry-header, body.postid-4271 .entry-header, body.postid-3271 .entry-header,
body.postid-6097 .has-post-cover .entry-header, body.postid-4271 .has-post-cover .entry-header, body.postid-3271 .has-post-cover .entry-header {
  display: none !important;
}

/* ===== SOLD & CLOSED watermark (archival listing pages) ===== */
.le-lux.le-lux-sold {
  position: relative;
}
.le-lux-sold-stamp {
  position: fixed;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-28deg);
  z-index: 40;
  pointer-events: none;
  font-size: clamp(2.2rem, 7vw, 4.75rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 30, 30, 0.42);
  border: 5px solid rgba(196, 30, 30, 0.48);
  padding: 0.35rem 1.1rem;
  border-radius: 10px;
  white-space: nowrap;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-shadow: 0 2px 0 rgba(255,255,255,0.25);
  box-shadow: 0 0 0 1px rgba(196, 30, 30, 0.12);
}
@media (max-width: 640px) {
  .le-lux-sold-stamp {
    font-size: clamp(1.5rem, 9vw, 2.4rem);
    border-width: 3px;
    padding: 0.28rem 0.7rem;
    top: 38%;
  }
}
/* Hero kicker when sold */
.le-lux.le-lux-sold .le-lux-kicker {
  color: #b91c1c;
  font-weight: 800;
}
.le-lux.le-lux-sold .le-lux-price {
  text-decoration: line-through;
  opacity: 0.55;
  position: relative;
}
.le-lux.le-lux-sold .le-lux-price::after {
  content: "SOLD & CLOSED";
  display: block;
  text-decoration: none;
  opacity: 1;
  color: #b91c1c;
  font-size: 0.55em;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  font-weight: 900;
}
