/* Excellence Realty - Property Listings landing page.
   Scoped under .er-lp. Reproduces the approved Claude Design ("Property Homepage").
   Colour comes from the shared --er-* tokens so the page follows the site's light/dark
   theme; structural values (spacing, radii, fluid type) are taken straight from the design.
   Loaded after Elementor's frontend CSS (see functions.php) so .er-lp beats .e-con. */

.er-lp { overflow-x: hidden; --lp-maxw: 1280px; --lp-pad: clamp(20px, 4vw, 32px); --lp-sec-y: clamp(72px, 8vw, 128px); }
.er-lp .e-con-inner, .er-lp .e-con { --content-width: 100%; }

/* ---------- shared bits ---------- */
.er-lp__in { max-width: var(--lp-maxw); margin-inline: auto; padding-inline: var(--lp-pad); width: 100%; }
.er-lp-eyebrow {
  font-family: var(--er-font-sans);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--er-muted-fg); margin: 0;
}
.er-lp-eyebrow--ondark { color: oklch(0.82 0.09 80); }
.er-lp-h2 {
  font-family: var(--er-font-display); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; margin: 12px 0 0; max-width: 620px;
  color: var(--er-fg); text-wrap: pretty;
}
.er-lp-h2--ondark { color: oklch(0.985 0.008 95); }
.er-lp-sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.er-lp-sechead > div { min-width: 0; }

.er-lp-btn--outline {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; border: 1px solid color-mix(in oklab, var(--er-gold) 55%, transparent);
  padding: 12px 22px; font-family: var(--er-font-sans); font-size: 14px; font-weight: 500;
  color: var(--er-fg); text-decoration: none; transition: border-color .16s ease, color .16s ease;
}
.er-lp-btn--outline:hover { border-color: var(--er-gold); color: var(--er-gold); }
.er-lp-btn--gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; background: var(--er-gold); color: var(--er-gold-fg);
  padding: 15px 32px; font-family: var(--er-font-sans); font-size: 15px; font-weight: 500;
  text-decoration: none; border: 0; cursor: pointer; transition: filter .16s ease;
}
.er-lp-btn--gold:hover { filter: brightness(0.95); }
.er-lp-btn--ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid oklch(1 0 0 / 0.45); color: oklch(0.98 0.01 85);
  padding: 15px 32px; font-family: var(--er-font-sans); font-size: 15px; font-weight: 500; text-decoration: none;
}
.er-lp-btn--ghost:hover { background: oklch(1 0 0 / 0.1); }

/* reveal-on-scroll - OPT-IN: only animates once JS adds .er-lp-anim to the wrapper.
   Without JS (or on error) every .er-lp-rv block stays fully visible. */
.er-lp.er-lp-anim .er-lp-rv { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.er-lp.er-lp-anim .er-lp-rv.is-vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .er-lp.er-lp-anim .er-lp-rv { opacity: 1; transform: none; transition: none; } }

/* ======================================================== HERO */
.er-lp-sec--hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.er-lp-sec--hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, oklch(0.2 0.035 258 / 0.94) 0%, oklch(0.2 0.035 258 / 0.78) 46%, oklch(0.2 0.035 258 / 0.35) 100%);
}
.er-lp-hero__in { max-width: var(--lp-maxw); margin-inline: auto; width: 100%; padding: 112px var(--lp-pad) 72px; }
.er-lp-hero__copy { max-width: 780px; }
.er-lp-hero__title {
  font-family: var(--er-font-display); font-weight: 500; letter-spacing: -0.01em;
  margin: 20px 0 0; font-size: clamp(40px, 6vw, 76px); line-height: 1.03;
  color: oklch(0.98 0.01 85); text-wrap: pretty;
}
.er-lp-hero__sub {
  margin: 22px 0 0; max-width: 560px; font-family: var(--er-font-sans);
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: oklch(0.93 0.012 85);
}
.er-lp-hero__searchslot { margin-top: 40px; max-width: 1040px; }
.er-lp-hero__trust { margin: 34px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.er-lp-hero__trust li { display: flex; align-items: center; gap: 10px; font-family: var(--er-font-sans); font-size: 14px; color: oklch(0.94 0.012 85); }
.er-lp-hero__trust svg { width: 20px; height: 20px; color: oklch(0.82 0.09 80); flex-shrink: 0; }

/* ---- hero search form (always a light glass card, both themes) ---- */
.er-lp-search {
  border-radius: 26px; background: oklch(1 0 0 / 0.96);
  padding: clamp(16px, 2vw, 22px);
  box-shadow: 0 2px 4px oklch(0.2 0.03 250 / 0.06), 0 28px 60px -24px oklch(0.2 0.03 250 / 0.28);
}
.er-lp-search__tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid oklch(0.895 0.012 92); padding-bottom: 14px; margin-bottom: 18px; }
.er-lp-search__tab {
  border-radius: 999px; border: none; background: transparent;
  padding: 10px 20px; min-height: 40px; display: inline-flex; align-items: center;
  font-family: var(--er-font-sans); font-size: 14px; font-weight: 500;
  color: oklch(0.47 0.025 220); text-decoration: none; cursor: pointer;
}
.er-lp-search__tab.is-active { background: oklch(0.93 0.032 92); color: oklch(0.3 0.06 212); }
.er-lp-search__tab:not(.is-active):hover { color: oklch(0.3 0.06 212); }
.er-lp-search__row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-items: end; }
.er-lp-search__field { display: flex; flex-direction: column; }
.er-lp-search__field label { margin-bottom: 6px; font-family: var(--er-font-sans); font-size: 12px; color: oklch(0.47 0.025 220); }
.er-lp-search__field select {
  min-height: 48px; width: 100%; border-radius: 18px;
  border: 1px solid oklch(0.885 0.012 92); background-color: oklch(0.985 0.006 95);
  padding: 0 40px 0 14px; font-family: var(--er-font-sans); font-size: 14px; color: oklch(0.235 0.045 220);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235B6D76' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.er-lp-search__submit {
  display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px;
  border-radius: 18px; border: none; background: oklch(0.42 0.075 208);
  padding: 0 22px; font-family: var(--er-font-sans); font-size: 14px; font-weight: 500;
  color: oklch(0.985 0.008 95); cursor: pointer; transition: filter .16s ease;
}
.er-lp-search__submit:hover { filter: brightness(1.08); }

/* ======================================================== LISTINGS */
.er-lp-sec--listings { background: var(--er-cream); padding: var(--lp-sec-y) 0; }
.er-lp-chips { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.er-lp-chip {
  border-radius: 999px; border: 1px solid var(--er-border); background: var(--er-card);
  padding: 10px 18px; min-height: 40px; font-family: var(--er-font-sans);
  font-size: 13px; font-weight: 500; color: var(--er-fg); cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.er-lp-chip:hover { border-color: var(--er-primary); }
.er-lp-chip.is-active { border-color: var(--er-primary); background: var(--er-primary); color: var(--er-primary-fg); }
.er-lp-listings__count { margin-top: 20px; font-family: var(--er-font-sans); font-size: 14px; color: var(--er-muted-fg); }
.er-lp-grid { margin-top: 22px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); }
.er-lp-card { display: flex; }
.er-lp-card[hidden] { display: none; }
.er-lp-listings__none, .er-lp-listings__empty {
  margin-top: 40px; font-family: var(--er-font-sans); font-size: 16px; color: var(--er-muted-fg);
}
.er-lp-more { margin-top: 44px; display: flex; justify-content: center; }
.er-lp-more[hidden] { display: none; }
.er-lp-more__btn {
  border-radius: 999px; border: 1px solid color-mix(in oklab, var(--er-primary) 40%, transparent);
  background: var(--er-card); padding: 15px 36px; font-family: var(--er-font-sans);
  font-size: 14px; font-weight: 500; color: var(--er-primary); cursor: pointer;
  transition: background-color .16s ease;
}
.er-lp-more__btn:hover { background: color-mix(in oklab, var(--er-primary) 8%, var(--er-card)); }

/* ======================================================== CATEGORIES / AREAS / VALUES / STEPS (static, Elementor-editable) */
.er-lp-sec--pad { padding: var(--lp-sec-y) 0; }
.er-lp-sec--cream { background: var(--er-cream); }
.er-lp-cardgrid { margin-top: 44px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.er-lp-cardgrid--areas { gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.er-lp-cardgrid--values { gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.er-lp-cardgrid--steps { gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* category card */
.er-lp-cat {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--er-border); border-radius: 22px; background: var(--er-card);
  box-shadow: 0 1px 2px oklch(0.2 0.03 250 / 0.04), 0 12px 32px -12px oklch(0.2 0.03 250 / 0.16);
  text-align: left; text-decoration: none; color: inherit; transition: box-shadow .3s ease;
}
.er-lp-cat:hover { box-shadow: 0 2px 4px oklch(0.2 0.03 250 / 0.06), 0 28px 60px -24px oklch(0.2 0.03 250 / 0.28); }
.er-lp-cat__media { aspect-ratio: 16 / 10; overflow: hidden; }
.er-lp-cat__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.er-lp-cat__body { padding: 22px 22px 24px; }
.er-lp-cat__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--er-accent); color: var(--er-gold); }
.er-lp-cat__icon svg { width: 21px; height: 21px; }
.er-lp-cat__title { font-family: var(--er-font-display); font-weight: 500; font-size: 24px; margin: 16px 0 0; color: var(--er-fg); }
.er-lp-cat__body p { margin: 6px 0 0; font-family: var(--er-font-sans); font-size: 14px; line-height: 1.55; color: var(--er-muted-fg); }
.er-lp-cat__count { margin-top: 14px !important; font-size: 13px !important; font-weight: 500; color: var(--er-primary) !important; }

/* area card */
.er-lp-area {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 22px;
  min-height: 340px; display: flex; align-items: flex-end; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px oklch(0.2 0.03 250 / 0.04), 0 12px 32px -12px oklch(0.2 0.03 250 / 0.16);
}
.er-lp-area img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.er-lp-area::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, oklch(0.2 0.035 258 / 0.92) 0%, oklch(0.2 0.035 258 / 0.35) 55%, oklch(0.2 0.035 258 / 0.1) 100%);
}
.er-lp-area__body { padding: 26px; width: 100%; }
.er-lp-area__name { font-family: var(--er-font-display); font-weight: 500; font-size: 27px; margin: 0; color: oklch(0.98 0.01 85); }
.er-lp-area__body p { margin: 6px 0 0; font-family: var(--er-font-sans); font-size: 14px; line-height: 1.5; color: oklch(0.93 0.012 85); }
.er-lp-area__cta { margin-top: 14px; display: flex; align-items: center; gap: 7px; font-family: var(--er-font-sans); font-size: 13px; font-weight: 500; color: oklch(0.82 0.09 80); }

/* value card */
.er-lp-val {
  height: 100%; border: 1px solid var(--er-border); border-radius: 22px; background: var(--er-card);
  padding: 28px; box-shadow: 0 1px 2px oklch(0.2 0.03 250 / 0.04), 0 12px 32px -12px oklch(0.2 0.03 250 / 0.16);
}
.er-lp-val__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 18px; background: var(--er-accent); color: var(--er-gold); }
.er-lp-val__icon svg { width: 23px; height: 23px; }
.er-lp-val__title { font-family: var(--er-font-display); font-weight: 500; font-size: 23px; line-height: 1.2; margin: 20px 0 0; color: var(--er-fg); }
.er-lp-val p { margin: 10px 0 0; font-family: var(--er-font-sans); font-size: 14px; line-height: 1.6; color: var(--er-muted-fg); }

/* ======================================================== HOW IT WORKS (teal) */
.er-lp-sec--how { background: var(--er-primary); color: var(--er-primary-fg); padding: var(--lp-sec-y) 0; }
.er-lp-sec--how .er-lp-eyebrow { color: oklch(0.82 0.09 80); }
.er-lp-steps { margin: 44px 0 0; padding: 0; list-style: none; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.er-lp-step { border: 1px solid oklch(1 0 0 / 0.16); border-radius: 22px; background: oklch(1 0 0 / 0.07); padding: 28px; height: 100%; }
.er-lp-step__n { font-family: var(--er-font-display); font-weight: 500; font-size: 40px; line-height: 1; color: oklch(0.82 0.09 80); margin: 0; }
.er-lp-step__title { font-family: var(--er-font-display); font-weight: 500; font-size: 23px; margin: 16px 0 0; color: oklch(0.985 0.008 95); }
.er-lp-step p { margin: 10px 0 0; font-family: var(--er-font-sans); font-size: 14px; line-height: 1.6; color: oklch(0.9 0.012 85); }

/* ======================================================== CLIENT STORIES */
.er-lp-sec--stories { padding: var(--lp-sec-y) 0; }
.er-lp-stories__nav { display: flex; flex-shrink: 0; gap: 8px; }
.er-lp-stories__btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--er-border); background: transparent; color: var(--er-fg); cursor: pointer;
  transition: border-color .16s ease, color .16s ease;
}
.er-lp-stories__btn:hover { border-color: var(--er-gold); color: var(--er-gold); }
.er-lp-stories__btn svg { width: 20px; height: 20px; }
.er-lp-stories__grid { margin-top: 44px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.er-lp-quote {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--er-border); border-radius: 22px; background: var(--er-card); padding: 32px;
  box-shadow: 0 1px 2px oklch(0.2 0.03 250 / 0.04), 0 12px 32px -12px oklch(0.2 0.03 250 / 0.16);
}
.er-lp-quote__mark { width: 28px; height: 28px; color: var(--er-gold); }
.er-lp-quote__text {
  margin: 20px 0 0; flex: 1; font-family: var(--er-font-display); font-weight: 500;
  font-size: 21px; line-height: 1.35; color: var(--er-fg);
}
.er-lp-quote__foot { margin-top: 24px; border-top: 1px solid var(--er-border); padding-top: 20px; }
.er-lp-quote__name { font-family: var(--er-font-sans); font-size: 14px; font-weight: 500; color: var(--er-fg); margin: 0; }
.er-lp-quote__role { font-family: var(--er-font-sans); font-size: 14px; color: var(--er-muted-fg); margin: 0; }
.er-lp-quote__stars { margin-top: 8px; display: flex; gap: 2px; color: var(--er-gold); }
.er-lp-quote__stars svg { width: 15px; height: 15px; fill: currentColor; }
.er-lp-certs { margin: 48px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.er-lp-certs li { border-radius: 18px; background: var(--er-card); border: 1px solid var(--er-border); padding: 12px; }
.er-lp-certs img { height: 56px; width: auto; object-fit: contain; display: block; }
:root[data-theme="dark"] .er-lp-certs img { filter: brightness(0) invert(1) opacity(0.75); }

/* ======================================================== CTA BAND */
.er-lp-sec--cta { position: relative; isolation: isolate; overflow: hidden; padding: var(--lp-sec-y) 0; background-size: cover; background-position: center; }
.er-lp-sec--cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: oklch(0.2 0.035 258 / 0.86); }
.er-lp-cta__in { max-width: var(--lp-maxw); margin-inline: auto; padding-inline: var(--lp-pad); text-align: center; }
.er-lp-cta__title { font-family: var(--er-font-display); font-weight: 500; letter-spacing: -0.01em; margin: 14px auto 0; max-width: 780px; font-size: clamp(32px, 5vw, 60px); line-height: 1.08; color: oklch(0.98 0.01 85); text-wrap: pretty; }
.er-lp-cta__sub { margin: 20px auto 0; max-width: 560px; font-family: var(--er-font-sans); font-size: 17px; line-height: 1.6; color: oklch(0.93 0.012 85); }
.er-lp-cta__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ======================================================== responsive polish */
@media (max-width: 767px) {
  .er-lp-sec--hero { min-height: 0; }
  .er-lp-hero__in { padding-top: 96px; padding-bottom: 56px; }
  .er-lp-search__row { grid-template-columns: 1fr; }
  .er-lp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .er-lp__in, .er-lp-hero__in, .er-lp-cta__in { --lp-pad: 18px; }
}

/* ---------- authoring fixes: span-based cards, Elementor button/text-editor DOM ---------- */
.er-lp-cat, .er-lp-area { text-decoration: none; }
.er-lp-cat__media, .er-lp-cat__body, .er-lp-cat__title, .er-lp-cat__desc, .er-lp-cat__count,
.er-lp-area__body, .er-lp-area__name, .er-lp-area__desc, .er-lp-area__cta { display: block; }
.er-lp-cat__desc { margin: 6px 0 0; font-family: var(--er-font-sans); font-size: 14px; line-height: 1.55; color: var(--er-muted-fg); }
.er-lp-cat__count { margin-top: 14px; font-family: var(--er-font-sans); font-size: 13px; font-weight: 500; color: var(--er-primary); }
.er-lp-area__desc { margin: 6px 0 0; font-family: var(--er-font-sans); font-size: 14px; line-height: 1.5; color: oklch(0.93 0.012 85); }
.er-lp-area__cta { display: flex; }

/* Elementor button widget -> landing button skins */
.er-lp .er-lp-btn--outline .elementor-button {
  background: transparent; border: 1px solid color-mix(in oklab, var(--er-gold) 55%, transparent);
  border-radius: 999px; padding: 12px 22px; font-family: var(--er-font-sans); font-size: 14px; font-weight: 500;
  color: var(--er-fg); box-shadow: none; transition: border-color .16s ease, color .16s ease;
}
.er-lp .er-lp-btn--outline .elementor-button:hover { border-color: var(--er-gold); color: var(--er-gold); background: transparent; }
.er-lp .er-lp-btn--gold .elementor-button {
  background: var(--er-gold); color: var(--er-gold-fg); border: 0; border-radius: 999px;
  padding: 15px 32px; font-family: var(--er-font-sans); font-size: 15px; font-weight: 500;
}
.er-lp .er-lp-btn--gold .elementor-button:hover { filter: brightness(0.95); background: var(--er-gold); color: var(--er-gold-fg); }
.er-lp .er-lp-btn--ghost .elementor-button {
  background: transparent; border: 1px solid oklch(1 0 0 / 0.45); color: oklch(0.98 0.01 85);
  border-radius: 999px; padding: 15px 32px; font-family: var(--er-font-sans); font-size: 15px; font-weight: 500;
}
.er-lp .er-lp-btn--ghost .elementor-button:hover { background: oklch(1 0 0 / 0.1); }
.er-lp .elementor-button-icon svg { width: 1em; height: 1em; }

/* text-editor / heading widgets: kill stray margins so the design's rhythm holds */
.er-lp .er-lp-eyebrow p, .er-lp .er-lp-hero__sub p, .er-lp .er-lp-cta__sub p,
.er-lp .er-lp-step p, .er-lp .er-lp-val p { margin: 0; }
.er-lp .er-lp-eyebrow .elementor-widget-container,
.er-lp .er-lp-h2 .elementor-widget-container { margin: 0; }
.er-lp .er-lp-h2.elementor-widget-heading .elementor-heading-title {
  font-family: var(--er-font-display); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; color: inherit;
}
.er-lp .er-lp-hero__title.elementor-widget-heading .elementor-heading-title {
  font-family: var(--er-font-display); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(40px, 6vw, 76px); line-height: 1.03; color: oklch(0.98 0.01 85);
}
.er-lp .er-lp-cta__title.elementor-widget-heading .elementor-heading-title {
  font-family: var(--er-font-display); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(32px, 5vw, 60px); line-height: 1.08; color: oklch(0.98 0.01 85);
}
.er-lp .er-lp-h2 { max-width: none; }
.er-lp-sechead__main { min-width: 0; }
.er-lp-sechead__main .er-lp-h2 .elementor-heading-title { max-width: 620px; }

/* ---------- neutralise Elementor container gap/padding on flow containers ---------- */
.er-lp .er-lp__in,
.er-lp .er-lp-hero__in,
.er-lp .er-lp-hero__copy,
.er-lp .er-lp-sechead__main,
.er-lp .er-lp-cta__in,
.er-lp .er-lp-rv.e-con,
.er-lp .er-lp-val,
.er-lp .er-lp-step,
.er-lp .er-lp-quote,
.er-lp .er-lp-quote__foot { gap: 0; }
.er-lp .er-lp__in { padding-block: 0; }
.er-lp .er-lp-sechead { gap: 24px; }
.er-lp .er-lp-cta__actions { gap: 14px; }

/* Elementor wraps text-editor content in .elementor-widget-container; strip only its inner spacing
   so the design's margin-top rhythm (set on the widget wrapper) is exact */
.er-lp .er-lp-eyebrow .elementor-widget-container,
.er-lp .er-lp-hero__sub .elementor-widget-container,
.er-lp .er-lp-cta__sub .elementor-widget-container,
.er-lp .er-lp-val__body .elementor-widget-container,
.er-lp .er-lp-step__body .elementor-widget-container,
.er-lp .er-lp-quote__text .elementor-widget-container,
.er-lp .er-lp-quote__name .elementor-widget-container,
.er-lp .er-lp-quote__role .elementor-widget-container { margin: 0; }
.er-lp .er-lp-eyebrow p, .er-lp .er-lp-hero__sub p, .er-lp .er-lp-cta__sub p,
.er-lp .er-lp-val__body p, .er-lp .er-lp-step__body p,
.er-lp .er-lp-quote__text p, .er-lp .er-lp-quote__name p, .er-lp .er-lp-quote__role p { margin: 0; }

/* the [er_lp_listings] / [er_lp_categories] / [er_lp_areas] shortcodes sit in a shortcode widget:
   give the block itself the top offset the design puts between the section header and the grid */
.er-lp .er-lp-listings { margin-top: 26px; }
.er-lp .er-lp-chips { margin-top: 0; }
.er-lp .elementor-widget-shortcode .elementor-widget-container { margin: 0; }

/* text-editor widgets that carry a heading-like role (eyebrows) render a <p>; keep inline size */
.er-lp .er-lp-eyebrow, .er-lp .er-lp-eyebrow p { line-height: 1; }
.er-lp .er-lp-eyebrow p {
  font-family: var(--er-font-sans); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 500; color: inherit;
}

/* ---------- Astra applies `button { background: var(--ast-global-color-0) !important }` to every
   bare <button>; the landing filter chips / load-more / carousel arrows are <button>s, so reset
   them explicitly (scoped to .er-lp). ---------- */
.er-lp button.er-lp-chip {
  background-color: var(--er-card) !important;
  color: var(--er-fg) !important;
  border: 1px solid var(--er-border) !important;
}
.er-lp button.er-lp-chip:hover { border-color: var(--er-primary) !important; }
.er-lp button.er-lp-chip.is-active {
  background-color: var(--er-primary) !important;
  color: var(--er-primary-fg) !important;
  border-color: var(--er-primary) !important;
}
.er-lp button.er-lp-more__btn {
  background-color: var(--er-card) !important;
  color: var(--er-primary) !important;
  border: 1px solid color-mix(in oklab, var(--er-primary) 40%, transparent) !important;
}
.er-lp button.er-lp-more__btn:hover { background-color: color-mix(in oklab, var(--er-primary) 8%, var(--er-card)) !important; }
.er-lp button.er-lp-stories__btn {
  background-color: transparent !important;
  color: var(--er-fg) !important;
  border: 1px solid var(--er-border) !important;
}
.er-lp button.er-lp-stories__btn:hover { border-color: var(--er-gold) !important; color: var(--er-gold) !important; }
.er-lp button.er-lp-search__submit {
  background-color: oklch(0.42 0.075 208) !important;
  color: oklch(0.985 0.008 95) !important;
  border: none !important;
}

/* ===== render-bug fixes: oversized inline icons, full-width CTA buttons ===== */
.er-lp svg:not([width]):not([height]) { width: 1em; height: 1em; }
.er-lp-area { flex-direction: column; justify-content: flex-end; align-items: stretch; }
.er-lp-area__cta { font-size: 13px; }
.er-lp-area__cta svg { width: 15px; height: 15px; flex: none; }
.er-lp-quote__mark { display: inline-flex; width: 30px; height: 30px; }
.er-lp-quote__mark svg { width: 100%; height: 100%; }
.er-lp-quote__stars svg { width: 15px; height: 15px; }
.er-lp-hero__trust svg { width: 20px; height: 20px; flex: none; }
.er-lp-pc__specs svg, .er-lp-pc__city svg, .er-lp-pc__cta svg { flex: none; }
.er-lp-val__icon svg, .er-lp-cat__icon svg { flex: none; }
.er-lp-cta__actions > .elementor-widget, .er-lp-cta__actions > .elementor-element { width: auto; max-width: none; flex: 0 0 auto; }
.er-lp-cta__actions .elementor-widget-container { display: inline-flex; }
.er-lp .er-lp-btn--gold .elementor-button, .er-lp .er-lp-btn--ghost .elementor-button { display: inline-flex; width: auto; }
.er-lp-sechead > .elementor-widget-button { width: auto; flex: 0 0 auto; }

/* CTA band: force the two Elementor button widgets to sit inline, not stack full-width */
.er-lp-cta__actions > .elementor-element { width: auto !important; max-width: none !important; flex: 0 0 auto !important; }
.er-lp-cta__actions .elementor-widget-container { width: auto; }
@media (max-width: 480px) { .er-lp-cta__actions > .elementor-element { width: 100% !important; } .er-lp-cta__actions .er-lp-btn--gold .elementor-button, .er-lp-cta__actions .er-lp-btn--ghost .elementor-button { width: 100%; } }

/* Elementor containers default to flex-direction:column; force the row layouts back */
.er-lp .er-lp-cta__actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
.er-lp .er-lp-sechead { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
@media (max-width: 560px) { .er-lp .er-lp-sechead { flex-direction: column; align-items: flex-start; } }

/* sechead: title block grows, 'View All' button hugs the right */
.er-lp .er-lp-sechead__main { flex: 1 1 auto; min-width: 0; }
.er-lp .er-lp-sechead > .elementor-widget-button, .er-lp .er-lp-sechead > .elementor-element { flex: 0 0 auto; width: auto !important; }

/* CTA band buttons: consistent centred pills */
.er-lp .er-lp-btn--gold .elementor-button,
.er-lp .er-lp-btn--ghost .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  width: auto; min-height: 50px; line-height: 1;
  gap: 0.5rem;
}
@media (max-width: 480px) {
  .er-lp .er-lp-btn--gold .elementor-button, .er-lp .er-lp-btn--ghost .elementor-button { width: 100%; }
}

/* certifications band - sits between the CTA section and the footer */
.er-lp-sec--certs { padding: clamp(2.25rem, 5vw, 3.5rem) 0; background: var(--er-bg); border-top: 1px solid var(--er-border); }
.er-lp-sec--certs .er-lp__in { display: flex; justify-content: center; }
.er-lp-sec--certs .er-lp-certs { margin: 0; }
