:root {
  --ypi-de-container: 1280px;
  --ypi-de-radius: 8px;
  --ypi-de-primary: #2d8b73;
  --ypi-de-accent: #eaf8fb;
  --ypi-de-surface: #ffffff;
  --ypi-de-bg: #f4f7f6;
  --ypi-de-text: #122320;
  --ypi-de-muted: #60716c;
  --ypi-de-line: rgba(18, 35, 32, 0.09);
  --ypi-de-shadow: 0 18px 40px rgba(17, 35, 31, 0.07);
  --ypi-de-shadow-soft: 0 12px 28px rgba(17, 35, 31, 0.05);
  --ypi-de-font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

html body.ypi-de-active {
  background: var(--ypi-de-bg) !important;
  color: var(--ypi-de-text);
  font-family: var(--ypi-de-font-family);
}


html body.ypi-de-active,
html body.ypi-de-active .ypi-de,
html body.ypi-de-active .ypi-de * {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
  font-style: normal;
}

body.ypi-de-active,
body.ypi-de-active button,
body.ypi-de-active input,
body.ypi-de-active select,
body.ypi-de-active textarea {
  font-family: var(--ypi-de-font-family);
}

body.ypi-de-active,
body.ypi-de-active * {
  box-sizing: border-box;
}


body.ypi-de-active .ypi-de,
body.ypi-de-active .ypi-de :where(h1,h2,h3,h4,h5,h6,p,a,span,small,strong,em,b,label,li,ul,ol,div,section,article,header,footer,nav,summary,details,button,input,select,textarea) {
  font-family: var(--ypi-de-font-family) !important;
}

body.ypi-de-active .site,
body.ypi-de-active .site-content,
body.ypi-de-active .content-area,
body.ypi-de-active .entry-content,
body.ypi-de-active #primary,
body.ypi-de-active .container-wrap,
body.ypi-de-active .main-wrap,
body.ypi-de-active .houzez-main-wrap-v1,
body.ypi-de-active .houzez-main-wrap-v2 {
  background: var(--ypi-de-bg) !important;
}

.ypi-de {
  min-height: 100vh;
  color: var(--ypi-de-text);
  background: var(--ypi-de-bg);
}

.ypi-de-shell {
  width: min(var(--ypi-de-container), calc(100% - 32px));
  margin: 0 auto;
}

.ypi-de-shell--narrow {
  width: min(calc(var(--ypi-de-container) * 0.85), calc(100% - 80px));
}

.ypi-de-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: visible;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(244, 247, 246, 0.88);
  border-bottom: 0;
}

.admin-bar .ypi-de-header { top: 32px; }

.ypi-de-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}

.ypi-de-brand,
.ypi-de-brand:hover {
  color: var(--ypi-de-text);
  text-decoration: none;
}

.ypi-de-brand__logo {
  display: block;
  width: auto;
  max-width: 172px;
  max-height: 42px;
}

.ypi-de-nav {
  min-width: 0;
  margin-left: auto;
}

.ypi-de-nav__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 6px;
  flex-wrap: nowrap;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--ypi-de-line);
  border-radius: 999px;
  box-shadow: var(--ypi-de-shadow-soft);
}

.ypi-de-nav__menu > li {
  flex: 0 1 auto;
  min-width: 0;
}

.ypi-de-nav__menu a,
.ypi-de-nav__more > summary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ypi-de-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.ypi-de-nav__menu a:hover,
.ypi-de-nav__menu .current-menu-item > a,
.ypi-de-nav__dropdown a:hover,
.ypi-de-nav__dropdown a.is-current,
.ypi-de-nav__more[open] > summary {
  color: var(--ypi-de-primary);
  background: var(--ypi-de-accent);
}

.ypi-de-nav__more {
  position: relative;
}

.ypi-de-nav__more > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
}

.ypi-de-nav__more > summary::-webkit-details-marker {
  display: none;
}

.ypi-de-nav__more > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.ypi-de-nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--ypi-de-line);
  border-radius: calc(var(--ypi-de-radius) + 4px);
  background: var(--ypi-de-surface);
  box-shadow: var(--ypi-de-shadow-soft);
}

.ypi-de-nav__dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--ypi-de-radius);
}

.ypi-de-nav__dropdown a:hover {
  background: var(--ypi-de-accent);
}

.ypi-de-header__cta,
.ypi-de-button,
.ypi-de-search__submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--ypi-de-radius);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
}

.ypi-de-header__cta {
  margin-left: 0;
  background: var(--ypi-de-surface);
  color: var(--ypi-de-text);
  border-color: var(--ypi-de-line);
  white-space: nowrap;
  box-shadow: var(--ypi-de-shadow-soft);
}

.ypi-de-header__cta:hover,
.ypi-de-button:hover,
.ypi-de-search__submit:hover,
.ypi-de-inline-link:hover,
.ypi-de-chip:hover,
.ypi-de-seo-link:hover {
  transform: translateY(-1px);
}

.ypi-de-main {
  padding: 26px 0 48px;
}

.ypi-de-hero-wrap {
  margin-top: 8px;
}

.ypi-de-hero {
  position: relative;
  background: var(--ypi-de-surface);
}

.ypi-de-hero__media {
  position: relative;
  min-height: 552px;
  border-radius: calc(var(--ypi-de-radius) + 10px);
  overflow: hidden;
  background: linear-gradient(135deg, #dbe8e3, #f8fbfa);
  background-position: center center;
  background-size: cover;
  box-shadow: var(--ypi-de-shadow);
}

.ypi-de-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(8, 25, 21, 0.62), rgba(8, 25, 21, 0.16) 58%, rgba(8, 25, 21, 0.05));
}

.ypi-de-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 552px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 40px 32px;
}

.ypi-de-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
  text-align: center;
}

.ypi-de-badge,
.ypi-de-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.ypi-de-pill {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(18, 35, 32, .72);
  text-transform: none;
  letter-spacing: 0;
}

.ypi-de-hero__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.2vw, 28px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -.02em;
  color: #fff;
}

.ypi-de-hero__text {
  margin: 0 auto;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.92);
}

.ypi-de-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ypi-de-button--primary,
.ypi-de-search__submit {
  background: var(--ypi-de-primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(45, 139, 115, 0.25);
}

.ypi-de-button--primary:hover,
.ypi-de-search__submit:hover {
  color: #fff;
}

.ypi-de-button--ghost {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.24);
  color: #fff;
  backdrop-filter: blur(6px);
}

.ypi-de-button--ghost:hover { color: #fff; }

.ypi-de-button--light {
  background: #fff;
  color: var(--ypi-de-primary);
}

.ypi-de-search-card {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto;
  padding: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.52);
  border-radius: calc(var(--ypi-de-radius) + 12px);
  box-shadow: 0 24px 54px rgba(16, 35, 31, 0.18);
  backdrop-filter: blur(14px);
}

.ypi-de-search-card--in-hero {
  margin-top: 4px;
}

.ypi-de-search {
  display: grid;
  gap: 14px;
}

.ypi-de-search__tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ypi-de-search__tab {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ypi-de-line);
  border-radius: var(--ypi-de-radius);
  background: #fff;
  color: var(--ypi-de-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ypi-de-search__tab.is-active {
  background: var(--ypi-de-primary);
  border-color: var(--ypi-de-primary);
  color: #fff;
}

.ypi-de-search__row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(210px, 1fr) minmax(180px, .9fr) minmax(170px, .8fr);
  gap: 12px;
}

.ypi-de-field {
  display: flex;
  align-items: center;
  min-height: 62px;
  background: #fff;
  border: 1px solid var(--ypi-de-line);
  border-radius: calc(var(--ypi-de-radius) + 2px);
  overflow: hidden;
}

.ypi-de-field input,
.ypi-de-field select {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--ypi-de-text);
  font-size: 16px;
  font-weight: 400;
  outline: none;
}

.ypi-de-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ypi-de-muted) 50%), linear-gradient(135deg, var(--ypi-de-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.ypi-de-search__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-top: 2px;
}

.ypi-de-search__quicklinks a,
.ypi-de-inline-link,
.ypi-de-footer a {
  color: var(--ypi-de-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.ypi-de-section {
  margin-top: 32px;
}

.ypi-de-section--deferred {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.ypi-de-section__head {
  margin-bottom: 18px;
}

.ypi-de-section__head--split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.ypi-de-section h2,
.ypi-de-seo-box h2,
.ypi-de-footer-cta h2,
.ypi-de-band h2,
.ypi-de-link-panel h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ypi-de-text);
}

.ypi-de-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border-radius: calc(var(--ypi-de-radius) + 8px);
  background: linear-gradient(135deg, var(--ypi-de-primary), #236e5b);
  color: #fff;
  box-shadow: var(--ypi-de-shadow-soft);
}

.ypi-de-band h2,
.ypi-de-band p {
  color: #fff;
}

.ypi-de-band p,
.ypi-de-footer-cta p,
.ypi-de-link-panel p,
.ypi-de-feature-card p,
.ypi-de-post-card p,
.ypi-de-property-card__location {
  margin: 10px 0 0;
  color: var(--ypi-de-muted);
  font-size: 15px;
  line-height: 1.72;
}

.ypi-de-band p { color: rgba(255,255,255,.9); }

.ypi-de-feature-grid,
.ypi-de-post-grid,
.ypi-de-property-grid {
  display: grid;
  gap: 20px;
}

.ypi-de-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ypi-de-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ypi-de-property-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ypi-de-feature-card,
.ypi-de-post-card,
.ypi-de-property-card,
.ypi-de-link-panel,
.ypi-de-seo-box,
.ypi-de-footer-cta {
  background: var(--ypi-de-surface);
  border: 1px solid var(--ypi-de-line);
  border-radius: calc(var(--ypi-de-radius) + 6px);
  box-shadow: var(--ypi-de-shadow-soft);
}

.ypi-de-feature-card {
  padding: 24px;
  position: relative;
}

.ypi-de-feature-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--ypi-de-accent);
  color: var(--ypi-de-primary);
  font-size: 12px;
  font-weight: 700;
}

.ypi-de-feature-card h3,
.ypi-de-property-card h3,
.ypi-de-post-card h3 {
  margin: 16px 0 0;
  font-size: 24px;
  line-height: 1.18;
  color: var(--ypi-de-text);
}

.ypi-de-property-card h3,
.ypi-de-post-card h3 { font-size: 22px; }

.ypi-de-property-card h3 a,
.ypi-de-post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ypi-de-property-card,
.ypi-de-post-card { overflow: hidden; }

.ypi-de-property-card__media,
.ypi-de-post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1.42 / 1;
  background: linear-gradient(135deg, #dce8e4, #f6fbf9);
}

.ypi-de-property-card__media img,
.ypi-de-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ypi-de-property-card__placeholder,
.ypi-de-post-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dce8e4, #f6fbf9);
}

.ypi-de-property-card__body,
.ypi-de-post-card__body {
  padding: 18px 18px 20px;
}

.ypi-de-property-card__price {
  color: var(--ypi-de-primary);
  font-size: 18px;
  font-weight: 700;
}

.ypi-de-property-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.ypi-de-property-card__meta li {
  padding: 10px 8px;
  border-radius: calc(var(--ypi-de-radius) + 2px);
  background: var(--ypi-de-accent);
  text-align: center;
}

.ypi-de-property-card__meta strong,
.ypi-de-property-card__meta span,
.ypi-de-post-card__date {
  display: block;
}

.ypi-de-property-card__meta strong {
  color: var(--ypi-de-text);
  font-size: 15px;
}

.ypi-de-property-card__meta span,
.ypi-de-post-card__date {
  color: var(--ypi-de-muted);
  font-size: 12px;
}

.ypi-de-link-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ypi-de-link-panel {
  padding: 24px;
}

.ypi-de-chip-grid,
.ypi-de-seo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ypi-de-chip,
.ypi-de-seo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--ypi-de-radius);
  background: #fff;
  border: 1px solid var(--ypi-de-line);
  color: var(--ypi-de-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.ypi-de-seo-box {
  padding: 26px;
}

.ypi-de-footer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 28px;
}

.ypi-de-footer {
  border-top: 1px solid var(--ypi-de-line);
  margin-top: 38px;
  background: var(--ypi-de-surface);
}

.ypi-de-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding: 18px 0;
}

.ypi-de-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ypi-de-footer__logo {
  max-height: 42px;
  width: auto;
}

.ypi-de-footer p {
  margin: 0;
  color: var(--ypi-de-muted);
  font-size: 14px;
}

.ypi-de-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 16px;
}

.ypi-de-footer__nav a {
  color: var(--ypi-de-text);
  font-size: 14px;
  font-weight: 500;
}

.ypi-de-footer__nav a:hover {
  color: var(--ypi-de-primary);
}

.ypi-de--no-motion *,
.ypi-de--no-motion *::before,
.ypi-de--no-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  .ypi-de *,
  .ypi-de *::before,
  .ypi-de *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1200px) {
  .ypi-de-property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ypi-de-search__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .admin-bar .ypi-de-header { top: 46px; }
  .ypi-de-header__inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12px 0;
  }
  .ypi-de-nav { width: 100%; margin-left: 0; order: 3; }
  .ypi-de-nav__menu { justify-content: flex-start; flex-wrap: wrap; }
  .ypi-de-nav__dropdown { position: static; margin-top: 8px; }
  .ypi-de-hero__inner { min-height: 620px; padding: 42px 28px; }
  .ypi-de-hero__content { max-width: 640px; }
  .ypi-de-feature-grid,
  .ypi-de-post-grid,
  .ypi-de-link-panels,
  .ypi-de-footer-cta,
  .ypi-de-band { grid-template-columns: 1fr; }
  .ypi-de-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .ypi-de-main { padding-top: 18px; }
  .ypi-de-shell { width: calc(100% - 20px); }
  .ypi-de-hero__media { min-height: 560px; }
  .ypi-de-hero__inner {
    min-height: 560px;
    padding: 28px 20px;
  }
  .ypi-de-hero__content {
    max-width: 100%;
  }
  .ypi-de-hero__title { font-size: clamp(24px, 5vw, 28px); }
  .ypi-de-hero__text { font-size: 15px; }
  .ypi-de-search-card {
    width: calc(100% - 20px);
    padding: 14px;
  }
  .ypi-de-search__row,
  .ypi-de-property-grid,
  .ypi-de-post-grid,
  .ypi-de-feature-grid,
  .ypi-de-link-panels,
  .ypi-de-footer-cta,
  .ypi-de-band,
  .ypi-de-section__head--split {
    grid-template-columns: 1fr;
  }
  .ypi-de-search__row {
    display: grid;
  }
  .ypi-de-property-card__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ypi-de-footer__inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 18px 0;
  }
  .ypi-de-footer__nav {
    justify-content: center;
  }
}


.pac-container {
  z-index: 999999 !important;
  border-radius: calc(var(--ypi-de-radius) + 4px);
  border: 1px solid var(--ypi-de-line);
  box-shadow: var(--ypi-de-shadow-soft);
  font-family: inherit;
}

/* v1.0.3 polish */
.ypi-de-header {
  background: rgba(244, 247, 246, 0.92);
}

.ypi-de-header__inner {
  gap: 12px;
}

.ypi-de-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.ypi-de-nav__menu {
  gap: 4px;
  padding: 6px;
  border-radius: var(--ypi-de-radius);
  background: rgba(255,255,255,.9);
}

.ypi-de-nav__menu a,
.ypi-de-nav__more > summary {
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--ypi-de-radius);
}

.ypi-de-nav__more > summary {
  gap: 10px;
}

.ypi-de-nav__more-label {
  display: inline-flex;
  align-items: center;
}

.ypi-de-nav__more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(45, 139, 115, 0.12);
}

.ypi-de-nav__more-icon i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.ypi-de-nav__more > summary::after {
  width: 7px;
  height: 7px;
}

.ypi-de-header__cta {
  margin-left: 8px;
}

.ypi-de-search__tabs {
  gap: 10px;
}

.ypi-de-search__tab {
  border-radius: var(--ypi-de-radius);
}

.ypi-de-search__quicklinks {
  gap: 10px;
  padding-top: 4px;
}

.ypi-de-search__quicklink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--ypi-de-radius);
  border: 1px solid var(--ypi-de-line);
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 18px rgba(17, 35, 31, 0.04);
}

.ypi-de-search__quicklink::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ypi-de-primary);
  box-shadow: 0 0 0 5px rgba(45, 139, 115, 0.12);
}

.ypi-de-search__quicklink--map::before {
  border-radius: 2px;
  transform: rotate(45deg);
}

.ypi-de-search__quicklink--smart::before {
  width: 10px;
  height: 10px;
  clip-path: polygon(50% 0%, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0% 50%, 39% 36%);
  border-radius: 0;
}

.ypi-de-search__quicklink:hover {
  background: #fff;
}

.ypi-de-section__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.ypi-de-carousel {
  position: relative;
}

.ypi-de-carousel__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ypi-de-carousel__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ypi-de-line);
  border-radius: var(--ypi-de-radius);
  background: var(--ypi-de-surface);
  color: var(--ypi-de-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--ypi-de-shadow-soft);
}

.ypi-de-carousel__arrow:hover {
  color: var(--ypi-de-primary);
  background: var(--ypi-de-accent);
}

.ypi-de-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ypi-de-carousel__track::-webkit-scrollbar {
  display: none;
}

.ypi-de-carousel__item {
  scroll-snap-align: start;
}

.ypi-de-property-card--compact .ypi-de-property-card__media {
  aspect-ratio: 1.52 / 1;
}

.ypi-de-property-card--compact .ypi-de-property-card__body {
  padding: 16px 16px 18px;
}

.ypi-de-property-card--compact h3 {
  margin-top: 12px;
  font-size: 18px;
}

.ypi-de-property-card--compact .ypi-de-property-card__price {
  font-size: 16px;
}

.ypi-de-property-card--compact .ypi-de-property-card__meta {
  gap: 8px;
  margin-top: 14px;
}

.ypi-de-property-card--compact .ypi-de-property-card__meta li {
  padding: 8px 6px;
}

.ypi-de-property-card--compact .ypi-de-property-card__location,
.ypi-de-property-card--compact .ypi-de-property-card__meta span {
  font-size: 12px;
}

.ypi-de-section--blog .ypi-de-section__head h2,
.ypi-de-section--agencies .ypi-de-section__head h2,
.ypi-de-section--properties .ypi-de-section__head h2 {
  font-size: clamp(22px, 2vw, 30px);
}

.ypi-de-post-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ypi-de-post-card--compact .ypi-de-post-card__media {
  aspect-ratio: 1.7 / 1;
}

.ypi-de-post-card--compact .ypi-de-post-card__body {
  padding: 14px 14px 16px;
}

.ypi-de-post-card--compact h3 {
  margin-top: 10px;
  font-size: 18px;
}

.ypi-de-post-card--compact p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.ypi-de-post-card--compact .ypi-de-post-card__date {
  font-size: 11px;
}

.ypi-de-carousel__track--agencies {
  grid-auto-columns: calc((100% - 90px) / 6);
}

.ypi-de-agency-card {
  overflow: hidden;
  background: var(--ypi-de-surface);
  border: 1px solid var(--ypi-de-line);
  border-radius: calc(var(--ypi-de-radius) + 6px);
  box-shadow: var(--ypi-de-shadow-soft);
}

.ypi-de-agency-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.5 / 1;
  background: linear-gradient(135deg, #eef7f5, #f8fbfa);
}

.ypi-de-agency-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ypi-de-agency-card__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: rgba(45, 139, 115, 0.12);
  color: var(--ypi-de-primary);
  font-size: 28px;
  font-weight: 600;
}

.ypi-de-agency-card__body {
  padding: 10px 12px 12px;
}

.ypi-de-agency-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.ypi-de-agency-card__meta-primary,
.ypi-de-agency-card__meta-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.ypi-de-agency-card__meta-primary {
  background: var(--ypi-de-accent);
  color: var(--ypi-de-primary);
}

.ypi-de-agency-card__meta-secondary {
  background: rgba(18, 35, 32, 0.06);
  color: var(--ypi-de-muted);
}

.ypi-de-agency-card h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
}

.ypi-de-agency-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ypi-de-agency-card p {
  display: none;
}

.ypi-de-agency-card--compact .ypi-de-agency-card__media {
  aspect-ratio: 1.6 / 1;
}

@media (max-width: 1200px) {
  .ypi-de-carousel__track {
    grid-auto-columns: calc((100% - 36px) / 3);
  }

  .ypi-de-carousel__track--agencies {
    grid-auto-columns: calc((100% - 54px) / 4);
  }
}

@media (max-width: 1024px) {
  .ypi-de-section__actions {
    width: 100%;
    justify-content: space-between;
  }

  .ypi-de-carousel__track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .ypi-de-post-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ypi-de-carousel__track--agencies {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

@media (max-width: 820px) {
  .ypi-de-search__quicklink {
    min-height: 34px;
    padding: 0 12px;
  }

  .ypi-de-section__actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .ypi-de-carousel__track {
    grid-auto-columns: minmax(82%, 1fr);
  }

  .ypi-de-post-grid--compact {
    grid-template-columns: 1fr;
  }

  .ypi-de-carousel__track--agencies {
    grid-auto-columns: minmax(44%, 1fr);
  }
}

@media (max-width: 1024px) {
  .ypi-de-shell--narrow {
    width: min(calc(var(--ypi-de-container) * 0.92), calc(100% - 36px));
  }
}

@media (max-width: 820px) {
  .ypi-de-shell--narrow {
    width: min(var(--ypi-de-container), calc(100% - 24px));
  }
}

/* v1.0.5 refinement */
.ypi-de-shell--narrow {
  width: min(calc(var(--ypi-de-container) * 0.82), calc(100% - 120px));
}

.ypi-de-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
}

.ypi-de-brand__logo {
  max-width: 168px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ypi-de-nav {
  margin-left: 0;
  justify-content: center;
}

.ypi-de-nav__menu {
  gap: 5px;
  padding: 7px;
  border-radius: calc(var(--ypi-de-radius) + 4px);
  border-color: rgba(18,35,32,.08);
  box-shadow: 0 14px 28px rgba(17,35,31,.06);
}

.ypi-de-nav__menu a,
.ypi-de-nav__more > summary {
  min-height: 42px;
  padding: 0 13px;
  font-size: 14px;
  border-radius: var(--ypi-de-radius);
}

.ypi-de-nav__menu a:hover,
.ypi-de-nav__menu .current-menu-item > a,
.ypi-de-nav__dropdown a:hover,
.ypi-de-nav__dropdown a.is-current,
.ypi-de-nav__more[open] > summary {
  box-shadow: inset 0 0 0 1px rgba(45,139,115,.12);
}

.ypi-de-nav__more-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, rgba(45,139,115,.2), rgba(45,139,115,.08));
}

.ypi-de-header__cta {
  margin-left: 0;
  min-width: 132px;
}

.ypi-de-hero__media,
.ypi-de-hero__inner {
  min-height: 452px;
}

.ypi-de-hero__inner {
  gap: 14px;
  padding: 34px 32px 26px;
}

.ypi-de-hero__content {
  max-width: 700px;
}

.ypi-de-hero__title {
  margin-bottom: 10px;
  font-size: clamp(22px, 1.95vw, 26px);
  line-height: 1.15;
}

.ypi-de-hero__text {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.65;
}

.ypi-de-hero__actions {
  margin-top: 18px;
}

.ypi-de-search-card {
  width: min(1080px, calc(100% - 76px));
  padding: 16px;
  border-radius: calc(var(--ypi-de-radius) + 10px);
}

.ypi-de-search-card--in-hero {
  margin-top: -2px;
}

.ypi-de-search__quicklinks {
  gap: 10px;
}

.ypi-de-search__quicklink {
  min-height: 36px;
  padding: 0 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,250,248,.96));
  border-color: rgba(18,35,32,.08);
}

.ypi-de-search__quicklink span {
  position: relative;
}

.ypi-de-section h2,
.ypi-de-seo-box h2,
.ypi-de-footer-cta h2,
.ypi-de-band h2,
.ypi-de-link-panel h2 {
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.14;
}

.ypi-de-section--blog .ypi-de-section__head h2,
.ypi-de-section--agencies .ypi-de-section__head h2,
.ypi-de-section--properties .ypi-de-section__head h2 {
  font-size: clamp(18px, 1.7vw, 24px);
}

.ypi-de-feature-grid--playful {
  gap: 18px;
}

.ypi-de-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 248px;
  padding: 20px 20px 22px;
  border-radius: calc(var(--ypi-de-radius) + 10px);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,250,.98));
}

.ypi-de-feature-card__bg {
  position: absolute;
  inset: auto -24px -58px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  opacity: .75;
  filter: blur(4px);
}

.ypi-de-feature-card--smart .ypi-de-feature-card__bg {
  background: radial-gradient(circle at center, rgba(45,139,115,.28), rgba(45,139,115,0));
}

.ypi-de-feature-card--map .ypi-de-feature-card__bg {
  background: radial-gradient(circle at center, rgba(61,110,219,.22), rgba(61,110,219,0));
}

.ypi-de-feature-card--index .ypi-de-feature-card__bg {
  background: radial-gradient(circle at center, rgba(165,95,220,.22), rgba(165,95,220,0));
}

.ypi-de-feature-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ypi-de-feature-card__tag {
  min-width: 58px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ypi-de-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 24px;
  font-weight: 600;
  color: var(--ypi-de-text);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(18,35,32,.07);
  box-shadow: 0 12px 24px rgba(17,35,31,.06);
}

.ypi-de-feature-card--smart .ypi-de-feature-card__icon {
  color: #2d8b73;
}

.ypi-de-feature-card--map .ypi-de-feature-card__icon {
  color: #3567c7;
}

.ypi-de-feature-card--index .ypi-de-feature-card__icon {
  color: #8b54d4;
}

.ypi-de-feature-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-size: 22px;
}

.ypi-de-feature-card p {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.68;
}

.ypi-de-inline-link--arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
}

.ypi-de-inline-link--arrow span {
  transition: transform .18s ease;
}

.ypi-de-inline-link--arrow:hover span {
  transform: translateX(3px);
}

.ypi-de-carousel__track {
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
}

.ypi-de-carousel__track--agencies {
  grid-auto-columns: calc((100% - 70px) / 6);
  gap: 14px;
}

.ypi-de-agency-card {
  border-radius: calc(var(--ypi-de-radius) + 4px);
}

.ypi-de-agency-card__media {
  aspect-ratio: 1.9 / 1;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #f6faf8);
}

.ypi-de-agency-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ypi-de-agency-card__placeholder {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  font-size: 24px;
}

.ypi-de-agency-card__body {
  padding: 8px 10px 10px;
}

.ypi-de-agency-card__meta-row {
  margin-bottom: 6px;
}

.ypi-de-agency-card__meta-primary,
.ypi-de-agency-card__meta-secondary {
  min-height: 26px;
  padding: 0 8px;
  font-size: 11px;
}

.ypi-de-agency-card h3 {
  font-size: 12.5px;
  line-height: 1.28;
  font-weight: 500;
}

.ypi-de-post-grid--compact {
  gap: 14px;
}

.ypi-de-post-card--compact .ypi-de-post-card__media {
  aspect-ratio: 1.82 / 1;
}

.ypi-de-post-card--compact .ypi-de-post-card__body {
  padding: 13px 13px 14px;
}

.ypi-de-post-card--compact h3 {
  font-size: 17px;
}

.ypi-de-post-card--compact p {
  font-size: 12.5px;
}

.ypi-de-footer__logo {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 30px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .ypi-de-shell--narrow {
    width: min(calc(var(--ypi-de-container) * 0.9), calc(100% - 56px));
  }

  .ypi-de-nav__menu a,
  .ypi-de-nav__more > summary {
    padding: 0 10px;
    font-size: 13px;
  }

  .ypi-de-carousel__track--agencies {
    grid-auto-columns: calc((100% - 42px) / 4);
  }
}

@media (max-width: 1024px) {
  .ypi-de-header__inner {
    grid-template-columns: 1fr auto;
  }

  .ypi-de-nav {
    width: 100%;
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .ypi-de-hero__media,
  .ypi-de-hero__inner {
    min-height: 520px;
  }

  .ypi-de-hero__inner {
    padding: 34px 24px 22px;
  }

  .ypi-de-shell--narrow {
    width: min(calc(var(--ypi-de-container) * 0.94), calc(100% - 36px));
  }

  .ypi-de-carousel__track--agencies {
    grid-auto-columns: calc((100% - 28px) / 3);
  }
}

@media (max-width: 820px) {
  .ypi-de-hero__media,
  .ypi-de-hero__inner {
    min-height: 540px;
  }

  .ypi-de-hero__title {
    font-size: clamp(22px, 5vw, 26px);
  }

  .ypi-de-search-card {
    width: calc(100% - 20px);
  }

  .ypi-de-feature-card {
    min-height: auto;
  }

  .ypi-de-carousel__track--agencies {
    grid-auto-columns: minmax(44%, 1fr);
  }

  .ypi-de-footer__logo {
    margin: 0 auto;
  }
}


/* v1.0.6 global header + sizing */
body.ypi-de-sitewide-header {
  background: var(--ypi-de-bg);
}

body.ypi-de-sitewide-header .header-main-wrap,
body.ypi-de-sitewide-header .header-desktop,
body.ypi-de-sitewide-header .header-mobile,
body.ypi-de-sitewide-header .top-bar-wrap,
body.ypi-de-sitewide-header .main-nav,
body.ypi-de-sitewide-header .header-nav,
body.ypi-de-sitewide-header .header-section,
body.ypi-de-sitewide-header header.main-header,
body.ypi-de-sitewide-header .header-main {
  display: none !important;
}

body.ypi-de-sitewide-header .ypi-de-header {
  position: sticky;
}

body.ypi-de-sitewide-header .ypi-de-header + * {
  position: relative;
  z-index: auto;
}

/* Let theme overlays/dropdowns sit above the sticky header when needed. */
body.ypi-de-sitewide-header .ypi-de-header,
body.ypi-de-active .ypi-de-header {
  isolation: auto;
}

.ypi-de-header__inner {
  min-height: 70px;
  gap: 14px;
}

.ypi-de-brand__logo {
  max-width: 156px;
  max-height: 34px;
}

.ypi-de-nav__menu {
  padding: 6px;
}

.ypi-de-nav__menu a,
.ypi-de-nav__more > summary {
  min-height: 40px;
  padding: 0 12px;
}

.ypi-de-header__cta {
  min-width: 128px;
}

.ypi-de-header__cta.is-logged-in {
  min-width: 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
}

.ypi-de-header__avatar,
.ypi-de-header__avatar .avatar,
.ypi-de-header__avatar-image,
.ypi-de-header__avatar-fallback {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 999px;
}

.ypi-de-header__avatar-image,
.ypi-de-header__avatar .avatar {
  object-fit: cover;
}

.ypi-de-header__avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ypi-de-primary), #236e5b);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.ypi-de-hero__media,
.ypi-de-hero__inner {
  min-height: 438px;
}

.ypi-de-hero__inner {
  gap: 12px;
  padding: 28px 28px 20px;
}

.ypi-de-hero__content {
  max-width: 560px;
}

.ypi-de-search-card {
  width: min(940px, calc(100% - 140px));
  padding: 14px;
  border-radius: calc(var(--ypi-de-radius) + 8px);
}

.ypi-de-search {
  gap: 12px;
}

.ypi-de-search__tab {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
}

.ypi-de-search__row {
  grid-template-columns: minmax(0, 2.25fr) minmax(180px, .95fr) minmax(160px, .8fr) minmax(148px, .72fr);
  gap: 10px;
}

.ypi-de-field,
.ypi-de-field input,
.ypi-de-field select,
.ypi-de-search__submit {
  min-height: 56px;
}

.ypi-de-field input,
.ypi-de-field select {
  font-size: 15px;
  padding: 0 16px;
}

.ypi-de-search__submit {
  font-size: 15px;
  padding: 0 16px;
}

.ypi-de-search__quicklinks {
  gap: 8px;
}

.ypi-de-search__quicklink {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.ypi-de-section h2,
.ypi-de-seo-box h2,
.ypi-de-footer-cta h2,
.ypi-de-band h2,
.ypi-de-link-panel h2 {
  font-size: clamp(22px, 2.35vw, 30px);
}

.ypi-de-section--blog .ypi-de-section__head h2,
.ypi-de-section--agencies .ypi-de-section__head h2,
.ypi-de-section--properties .ypi-de-section__head h2 {
  font-size: clamp(19px, 1.65vw, 24px);
}

@media (max-width: 1200px) {
  .ypi-de-search-card {
    width: min(920px, calc(100% - 72px));
  }
}

@media (max-width: 1024px) {
  body.ypi-de-sitewide-header .header-main-wrap,
  body.ypi-de-sitewide-header .header-desktop,
  body.ypi-de-sitewide-header .header-mobile,
  body.ypi-de-sitewide-header .top-bar-wrap,
  body.ypi-de-sitewide-header .main-nav,
  body.ypi-de-sitewide-header .header-nav,
  body.ypi-de-sitewide-header .header-section,
  body.ypi-de-sitewide-header header.main-header,
  body.ypi-de-sitewide-header .header-main {
    display: none !important;
  }

  .ypi-de-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .ypi-de-search-card {
    width: min(100%, calc(100% - 40px));
  }
}


/* v1.0.7 hero width, tighter search, legacy logged-in classes */
.ypi-de-hero-wrap--wide {
  width: min(1680px, calc(100% - clamp(56px, 20vw, 280px)));
}

.ypi-de-hero__media,
.ypi-de-hero__inner {
  min-height: 432px;
}

.ypi-de-hero__inner {
  gap: 6px;
  padding: 22px 28px 18px;
}

.ypi-de-hero__content {
  max-width: 760px;
}

.ypi-de-hero__title {
  margin-bottom: 8px;
}

.ypi-de-hero__text {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.7;
}

.ypi-de-hero__actions {
  margin-top: 14px;
}

.ypi-de-search-card {
  width: min(840px, calc(100% - 180px));
  padding: 12px;
}

.ypi-de-search-card--in-hero {
  margin-top: -10px;
}

.ypi-de-search {
  gap: 10px;
}

.ypi-de-search__tab {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.ypi-de-search__row {
  grid-template-columns: minmax(0, 2.35fr) minmax(164px, .9fr) minmax(148px, .74fr) minmax(132px, .65fr);
  gap: 8px;
}

.ypi-de-field,
.ypi-de-field input,
.ypi-de-field select,
.ypi-de-search__submit {
  min-height: 50px;
}

.ypi-de-field input,
.ypi-de-field select,
.ypi-de-search__submit {
  font-size: 14px;
  padding-left: 14px;
  padding-right: 14px;
}

.ypi-de-search__quicklinks {
  gap: 8px;
}

.ypi-de-search__quicklink {
  min-height: 32px;
  padding: 0 11px;
  font-size: 12.5px;
}

.ypi-de-link-panel--locations h2 {
  font-size: clamp(17px, 1.45vw, 21px);
}

.ypi-de-header__cta.navbar-logged-in-wrap.navbar {
  min-width: 48px;
}

.ypi-de-header__cta .logged-in-nav-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1200px) {
  .ypi-de-hero-wrap--wide {
    width: min(1440px, calc(100% - 72px));
  }

  .ypi-de-search-card {
    width: min(820px, calc(100% - 96px));
  }
}

@media (max-width: 1024px) {
  .ypi-de-hero-wrap--wide {
    width: calc(100% - 40px);
  }

  .ypi-de-search-card {
    width: min(100%, calc(100% - 40px));
  }
}


/* v1.0.8 account link fix + wider hero + matched link-panel titles */
.ypi-de-hero-wrap--wide {
  width: min(1880px, calc(100% - 10vw));
}

.ypi-de-link-panel--locations h2,
.ypi-de-link-panel--types h2 {
  font-size: clamp(16px, 1.35vw, 20px);
}

@media (max-width: 1200px) {
  .ypi-de-hero-wrap--wide {
    width: min(1600px, calc(100% - 64px));
  }
}

@media (max-width: 1024px) {
  .ypi-de-hero-wrap--wide {
    width: calc(100% - 40px);
  }
}

/* v1.0.9 header polish + tighter account spacing + shorter hero copy */
.ypi-de-header {
  background: rgba(244, 247, 246, 0.94);
  box-shadow: 0 10px 24px rgba(17, 35, 31, 0.03);
}

.ypi-de-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 72px;
}

.ypi-de-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 2px;
}

.ypi-de-nav {
  min-width: 0;
  margin-left: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.ypi-de-nav__menu {
  justify-content: flex-end;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  padding: 7px 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,250,.94));
  border: 1px solid rgba(18,35,32,.08);
  box-shadow: 0 12px 30px rgba(17,35,31,.05), inset 0 1px 0 rgba(255,255,255,.65);
}

.ypi-de-nav__menu a,
.ypi-de-nav__more > summary {
  min-height: 42px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ypi-de-nav__menu a:hover,
.ypi-de-nav__menu .current-menu-item > a,
.ypi-de-nav__dropdown a:hover,
.ypi-de-nav__dropdown a.is-current,
.ypi-de-nav__more[open] > summary {
  color: var(--ypi-de-primary);
  background: linear-gradient(180deg, #fbfffd, #eef9fb);
  box-shadow: inset 0 0 0 1px rgba(45,139,115,.16), 0 8px 16px rgba(45,139,115,.05);
}

.ypi-de-nav__more {
  position: relative;
}

.ypi-de-nav__more > summary {
  gap: 8px;
}

.ypi-de-nav__more-icon {
  width: 26px;
  height: 26px;
  gap: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(45,139,115,.2), rgba(45,139,115,.08));
  box-shadow: inset 0 0 0 1px rgba(45,139,115,.08);
}

.ypi-de-nav__dropdown {
  top: calc(100% + 8px);
  min-width: 230px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 34px rgba(17,35,31,.09);
}

.ypi-de-header__cta {
  margin-left: 4px;
  min-width: auto;
  padding: 0 14px;
  border-radius: 12px;
}

.ypi-de-header__cta.is-logged-in,
.ypi-de-header__cta.navbar-logged-in-wrap.navbar {
  width: 46px;
  height: 46px;
  min-width: 46px;
  margin-left: 4px;
  padding: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,249,247,.98));
  box-shadow: 0 10px 20px rgba(17,35,31,.06);
}

.ypi-de-header__cta:hover {
  border-color: rgba(45,139,115,.2);
}

.ypi-de-header__avatar,
.ypi-de-header__avatar .avatar,
.ypi-de-header__avatar-image,
.ypi-de-header__avatar-fallback {
  width: 34px;
  height: 34px;
}

.ypi-de-hero__text {
  max-width: 720px;
  font-size: 14px;
  line-height: 1.62;
}

@media (max-width: 1200px) {
  .ypi-de-header__inner {
    gap: 6px;
  }

  .ypi-de-nav__menu a,
  .ypi-de-nav__more > summary {
    padding: 0 11px;
    font-size: 13px;
  }
}

/* v1.1.0 Phase A - premium account trigger, header polish, signature search */
.ypi-de-header {
  background: rgba(244, 247, 246, 0.82);
  box-shadow: 0 12px 36px rgba(15, 27, 25, 0.05);
}

.ypi-de-header__inner {
  min-height: 76px;
  gap: 10px;
}

.ypi-de-brand {
  padding: 8px 10px;
  border-radius: 14px;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ypi-de-brand:hover {
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 0 0 1px rgba(18,35,32,.06);
  transform: translateY(-1px);
}

.ypi-de-brand__logo {
  max-height: 40px;
}

.ypi-de-nav {
  justify-content: center;
}

.ypi-de-nav__menu {
  gap: 5px;
  padding: 7px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,251,250,.95));
  box-shadow: 0 14px 34px rgba(17,35,31,.05), inset 0 1px 0 rgba(255,255,255,.88);
}

.ypi-de-nav__menu a,
.ypi-de-nav__more > summary {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ypi-de-nav__menu a:hover,
.ypi-de-nav__menu .current-menu-item > a,
.ypi-de-nav__dropdown a:hover,
.ypi-de-nav__dropdown a.is-current,
.ypi-de-nav__more[open] > summary {
  transform: translateY(-1px);
}

.ypi-de-nav__more > summary::after {
  display: none;
}

.ypi-de-nav__more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  gap: 3px;
}

.ypi-de-nav__more-icon i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
}

.ypi-de-nav__dropdown {
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 20px 42px rgba(17,35,31,.12);
  backdrop-filter: blur(14px);
}

.ypi-de-header__account {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.ypi-de-account-menu {
  position: relative;
}

.ypi-de-account-menu > summary {
  list-style: none;
}

.ypi-de-account-menu > summary::-webkit-details-marker {
  display: none;
}

.ypi-de-header__cta {
  min-height: 48px;
  border-radius: 14px;
}

.ypi-de-header__cta.is-logged-in,
.ypi-de-header__cta.navbar-logged-in-wrap.navbar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 0;
  height: 52px;
  margin-left: 0;
  padding: 6px 10px 6px 6px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,248,246,.98));
  box-shadow: 0 16px 36px rgba(17,35,31,.08), inset 0 1px 0 rgba(255,255,255,.9);
}

.ypi-de-header__cta.is-logged-in:hover,
.ypi-de-account-menu[open] > .ypi-de-header__cta.is-logged-in {
  border-color: rgba(45,139,115,.2);
  box-shadow: 0 20px 42px rgba(17,35,31,.11), inset 0 1px 0 rgba(255,255,255,.94);
}

.ypi-de-header__avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45,139,115,.16), rgba(255,255,255,.96));
  box-shadow: inset 0 0 0 1px rgba(45,139,115,.14), 0 8px 18px rgba(17,35,31,.08);
  overflow: hidden;
}

.ypi-de-header__avatar,
.ypi-de-header__avatar .avatar,
.ypi-de-header__avatar-image,
.ypi-de-header__avatar-fallback {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.ypi-de-header__avatar .avatar,
.ypi-de-header__avatar-image {
  object-fit: cover;
  display: block;
}

.ypi-de-header__avatar-fallback {
  font-size: 15px;
}

.ypi-de-header__account-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #34c58a;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(52,197,138,.35);
}

.ypi-de-header__account-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
  line-height: 1.1;
}

.ypi-de-header__account-copy strong {
  display: block;
  max-width: 124px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: var(--ypi-de-text);
}

.ypi-de-header__account-copy small {
  display: block;
  max-width: 124px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ypi-de-muted);
}

.ypi-de-header__caret {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .18s ease;
  opacity: .7;
}

.ypi-de-account-menu[open] .ypi-de-header__caret {
  transform: rotate(-135deg) translateY(-1px);
}

.ypi-de-account-menu__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 284px;
  padding: 12px;
  border: 1px solid rgba(18,35,32,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 48px rgba(17,35,31,.15);
  backdrop-filter: blur(14px);
}

.ypi-de-account-menu__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(239,248,244,.88), rgba(255,255,255,.95));
}

.ypi-de-account-menu__avatar,
.ypi-de-account-menu__avatar .avatar,
.ypi-de-account-menu__avatar img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.ypi-de-account-menu__identity {
  min-width: 0;
}

.ypi-de-account-menu__identity strong,
.ypi-de-account-menu__identity span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ypi-de-account-menu__identity strong {
  font-size: 14px;
  color: var(--ypi-de-text);
}

.ypi-de-account-menu__identity span {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ypi-de-muted);
}

.ypi-de-account-menu__links {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.ypi-de-account-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--ypi-de-text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.ypi-de-account-menu__link:hover {
  color: var(--ypi-de-primary);
  background: linear-gradient(180deg, #fbfffd, #eef9fb);
  transform: translateY(-1px);
}

.ypi-de-account-menu__icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(45,139,115,.16), rgba(45,139,115,.04));
  box-shadow: inset 0 0 0 1px rgba(45,139,115,.08);
}

.ypi-de-account-menu__icon::before,
.ypi-de-account-menu__icon::after {
  content: "";
  position: absolute;
}

.ypi-de-account-menu__link--panel .ypi-de-account-menu__icon::before {
  inset: 7px;
  border-radius: 4px;
  border: 1.6px solid currentColor;
}

.ypi-de-account-menu__link--panel .ypi-de-account-menu__icon::after {
  left: 9px;
  right: 9px;
  top: 13px;
  height: 1.6px;
  background: currentColor;
}

.ypi-de-account-menu__link--home .ypi-de-account-menu__icon::before {
  left: 7px;
  top: 10px;
  width: 14px;
  height: 11px;
  border: 1.6px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.ypi-de-account-menu__link--home .ypi-de-account-menu__icon::after {
  left: 8px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-top: 1.6px solid currentColor;
  border-left: 1.6px solid currentColor;
  transform: rotate(45deg);
}

.ypi-de-account-menu__link--settings .ypi-de-account-menu__icon::before {
  inset: 7px;
  border-radius: 50%;
  border: 1.6px solid currentColor;
}

.ypi-de-account-menu__link--settings .ypi-de-account-menu__icon::after {
  left: 13px;
  top: 5px;
  width: 2px;
  height: 18px;
  background: currentColor;
  box-shadow: -7px 7px 0 currentColor, 7px 7px 0 currentColor, 0 0 0 0 currentColor;
  transform: rotate(45deg);
}

.ypi-de-account-menu__link--logout .ypi-de-account-menu__icon::before {
  left: 7px;
  top: 8px;
  width: 10px;
  height: 12px;
  border: 1.6px solid currentColor;
  border-right: 0;
  border-radius: 4px 0 0 4px;
}

.ypi-de-account-menu__link--logout .ypi-de-account-menu__icon::after {
  right: 6px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  box-shadow: -7px 0 0 -5px currentColor;
}

.ypi-de-search-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.25);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,252,251,.92));
  box-shadow: 0 28px 60px rgba(15, 27, 25, 0.16), inset 0 1px 0 rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
}

.ypi-de-search {
  gap: 12px;
}

.ypi-de-search__tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(242,247,245,.98), rgba(255,255,255,.9));
  box-shadow: inset 0 0 0 1px rgba(18,35,32,.06);
}

.ypi-de-search__tab {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 11px;
  border: 0;
  background: transparent;
  color: var(--ypi-de-text);
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ypi-de-search__tab:hover {
  transform: translateY(-1px);
}

.ypi-de-search__tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--ypi-de-primary), #236e5b);
  box-shadow: 0 12px 24px rgba(45,139,115,.28);
}

.ypi-de-search__row {
  align-items: center;
}

.ypi-de-field {
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ypi-de-field::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 2;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 10px;
  background: linear-gradient(135deg, #f4fbf8, #e5f4ef);
  border: 1px solid rgba(45,139,115,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 6px 14px rgba(45,139,115,.08);
  opacity: 1;
  pointer-events: none;
}

.ypi-de-field::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 50%;
  z-index: 3;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .96;
  pointer-events: none;
}

.ypi-de-field--location::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9f89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.33-6-11a6 6 0 1 1 12 0c0 5.67-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.ypi-de-field--type::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9f89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
}

.ypi-de-field--radius::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9f89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E");
}

.ypi-de-field input,
.ypi-de-field select {
  min-height: 52px;
  padding-left: 52px;
  padding-right: 16px;
  border-radius: 14px;
  border: 1px solid rgba(18,35,32,.08);
  background: rgba(255,255,255,.94);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.ypi-de-field.is-focused,
.ypi-de-field:hover {
  transform: translateY(-1px);
}

.ypi-de-field.is-focused::before,
.ypi-de-field:hover::before {
  background: linear-gradient(135deg, #f0faf7, #dff3ec);
  border-color: rgba(45,139,115,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 16px rgba(45,139,115,.12);
}

.ypi-de-field.is-focused input,
.ypi-de-field.is-focused select,
.ypi-de-field:hover input,
.ypi-de-field:hover select {
  border-color: rgba(45,139,115,.24);
  box-shadow: 0 10px 22px rgba(17,35,31,.06), inset 0 1px 0 rgba(255,255,255,.92);
}

.ypi-de-search__submit {
  min-height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ypi-de-primary), #236e5b);
  box-shadow: 0 16px 30px rgba(45,139,115,.28);
}

.ypi-de-search__submit:hover {
  box-shadow: 0 20px 34px rgba(45,139,115,.34);
}

.ypi-de-search__quicklinks {
  gap: 10px;
}

.ypi-de-search__quicklink {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(238,248,245,.9);
  box-shadow: inset 0 0 0 1px rgba(45,139,115,.08);
}

.ypi-de-search__quicklink:hover {
  background: rgba(232,246,241,.98);
  box-shadow: inset 0 0 0 1px rgba(45,139,115,.14), 0 10px 18px rgba(45,139,115,.08);
}

@media (max-width: 1366px) {
  .ypi-de-header__account-copy {
    display: none;
  }

  .ypi-de-header__cta.is-logged-in,
  .ypi-de-header__cta.navbar-logged-in-wrap.navbar {
    padding-right: 8px;
  }
}

@media (max-width: 1200px) {
  .ypi-de-header__inner {
    gap: 8px;
  }

  .ypi-de-brand {
    padding-left: 0;
  }

  .ypi-de-nav__menu a,
  .ypi-de-nav__more > summary {
    padding: 0 12px;
    font-size: 13px;
  }

  .ypi-de-account-menu__dropdown {
    width: 264px;
  }
}

@media (max-width: 1024px) {
  .ypi-de-header__cta.is-logged-in,
  .ypi-de-header__cta.navbar-logged-in-wrap.navbar {
    height: 48px;
  }

  .ypi-de-search-card {
    border-radius: 18px;
  }
}


/* v1.2.1 safe recovery: keep luxury visuals + latest spacing/nav/hero panel */
.ypi-de-main {
  padding-top: 12px;
}

.ypi-de-hero-wrap {
  margin-top: 0;
}

.ypi-de-hero__inner {
  padding-top: 8px;
}

.ypi-de-hero-wrap + .ypi-de-section {
  margin-top: 18px;
}

.ypi-de-section--features {
  margin-top: 16px;
}

.ypi-de-band {
  padding: 22px 24px;
}

.ypi-de-nav__menu {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.ypi-de-nav__menu a,
.ypi-de-nav__more > summary {
  min-height: 42px;
  border-radius: 999px;
}

.ypi-de-hero__content {
  max-width: 760px;
  padding: 22px 26px 10px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(7,20,18,.18), rgba(7,20,18,.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ypi-de-hero__title {
  text-shadow: 0 12px 28px rgba(7,20,18,.22);
}

.ypi-de-hero__text {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 8px 22px rgba(7,20,18,.18);
}

@media (max-width: 1200px) {
  .ypi-de-main {
    padding-top: 10px;
  }

  .ypi-de-hero__inner {
    padding-top: 10px;
  }

  .ypi-de-hero-wrap + .ypi-de-section {
    margin-top: 16px;
  }

  .ypi-de-section--features {
    margin-top: 14px;
  }
}

@media (max-width: 820px) {
  .ypi-de-main {
    padding-top: 14px;
  }
}


/* v1.3.10 sticky header stacking fix */

/* Keep the sticky header above regular page content, but below functional overlays such as search filters and dropdown panels. */
body.ypi-de-sitewide-header .ypi-de-header,
body.ypi-de-active .ypi-de-header {
  z-index: 20;
  overflow: visible;
}

/* Do not create an unnecessary stacking context for the page wrapper right after the injected header. */
body.ypi-de-sitewide-header .ypi-de-header + * {
  z-index: auto;
}

/* v1.3.9 accessibility pass */
.ypi-de-button--primary,
.ypi-de-search__submit {
  background: var(--ypi-de-primary);
  color: #ffffff;
}

.ypi-de-button--light,
.ypi-de-inline-link,
.ypi-de-search__quicklinks a,
.ypi-de-footer a,
.ypi-de-feature-card__tag,
.ypi-de-property-card__price {
  color: var(--ypi-de-primary);
}

.ypi-de-inline-link,
.ypi-de-search__quicklinks a,
.ypi-de-footer a,
.ypi-de-feature-card__tag,
.ypi-de-post-card__date,
.ypi-de-property-card__meta span,
.ypi-de-property-card__location {
  font-weight: 600;
}

.ypi-de-feature-card__tag {
  background: #e3f1ec;
}

.ypi-de:where(a, button, input, select, summary):focus-visible,
.ypi-de a:focus-visible,
.ypi-de button:focus-visible,
.ypi-de input:focus-visible,
.ypi-de select:focus-visible,
.ypi-de summary:focus-visible {
  outline: 2px solid var(--ypi-de-primary);
  outline-offset: 2px;
}


/* v1.3.14 internal header dropdown stacking + search field rebalance */
body.ypi-de-sitewide-header .ypi-de-nav__menu {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.ypi-de-sitewide-header .ypi-de-nav__menu a,
body.ypi-de-sitewide-header .ypi-de-nav__more > summary,
body.ypi-de-sitewide-header .ypi-de-nav__menu a:hover,
body.ypi-de-sitewide-header .ypi-de-nav__menu .current-menu-item > a,
body.ypi-de-sitewide-header .ypi-de-nav__dropdown a:hover,
body.ypi-de-sitewide-header .ypi-de-nav__dropdown a.is-current,
body.ypi-de-sitewide-header .ypi-de-nav__more[open] > summary {
  box-shadow: none;
}

.ypi-de-search__row {
  grid-template-columns: minmax(0, 2.82fr) minmax(225px, 1.04fr) minmax(188px, .9fr);
}

.ypi-de-field--location {
  min-width: 0;
}

.ypi-de-field--type {
  min-width: 0;
}

.ypi-de-search__submit {
  width: 100%;
  min-width: 0;
  padding-left: 18px;
  padding-right: 18px;
}

body.ypi-de-sitewide-header .ypi-de-header,
body.ypi-de-active .ypi-de-header {
  z-index: 120;
}

.ypi-de-nav__more,
.ypi-de-account-menu {
  position: relative;
  z-index: 121;
}

.ypi-de-nav__dropdown,
.ypi-de-account-menu__dropdown {
  z-index: 130;
}

@media (max-width: 1200px) {
  .ypi-de-search__row {
    grid-template-columns: minmax(0, 2.62fr) minmax(205px, .98fr) minmax(176px, .86fr);
  }
}

@media (max-width: 1024px) {
  .ypi-de-search__row {
    grid-template-columns: minmax(0, 2.1fr) minmax(188px, .92fr) minmax(164px, .82fr);
  }
}

@media (max-width: 820px) {
  .ypi-de-search__row {
    grid-template-columns: 1fr;
  }
}


/* v1.3.28 header dropdown priority + preloader stacking safety */
body.ypi-de-sitewide-header .ypi-de-header,
body.ypi-de-active .ypi-de-header {
  z-index: 90 !important;
  overflow: visible !important;
  isolation: isolate;
}

body.ypi-de-sitewide-header .ypi-de-header__inner,
body.ypi-de-sitewide-header .ypi-de-nav,
body.ypi-de-sitewide-header .ypi-de-header__account,
body.ypi-de-sitewide-header .ypi-de-nav__menu,
body.ypi-de-active .ypi-de-header__inner,
body.ypi-de-active .ypi-de-nav,
body.ypi-de-active .ypi-de-header__account,
body.ypi-de-active .ypi-de-nav__menu {
  overflow: visible !important;
}

body.ypi-de-sitewide-header .ypi-de-nav__more,
body.ypi-de-sitewide-header .ypi-de-account-menu,
body.ypi-de-active .ypi-de-nav__more,
body.ypi-de-active .ypi-de-account-menu {
  position: relative;
  z-index: 91 !important;
}

body.ypi-de-sitewide-header .ypi-de-nav__dropdown,
body.ypi-de-sitewide-header .ypi-de-account-menu__dropdown,
body.ypi-de-active .ypi-de-nav__dropdown,
body.ypi-de-active .ypi-de-account-menu__dropdown {
  position: absolute;
  z-index: 110 !important;
}


/* v1.3.17 homepage header admin-bar safety + tablet landscape alignment */
body.ypi-de-active .ypi-de-header {
  position: relative !important;
  top: 0 !important;
}

body.ypi-de-active .ypi-de-nav__more-summary--link {
  text-decoration: none;
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  body.ypi-de-active .ypi-de-nav {
    width: auto;
    margin-left: auto;
    order: 0;
  }

  body.ypi-de-active .ypi-de-nav__menu {
    justify-content: center;
    flex-wrap: nowrap;
  }

  body.ypi-de-active .ypi-de-nav__menu a,
  body.ypi-de-active .ypi-de-nav__more > summary {
    padding: 0 10px;
    font-size: 12.5px;
  }

  body.ypi-de-active .ypi-de-nav__dropdown,
  body.ypi-de-active .ypi-de-account-menu__dropdown {
    position: absolute;
    margin-top: 0;
  }

  body.ypi-de-active .ypi-de-search-card {
    width: min(980px, calc(100% - 48px));
    padding: 16px;
  }

  body.ypi-de-active .ypi-de-search__row {
    grid-template-columns: minmax(0, 2.3fr) minmax(200px, 0.98fr) minmax(156px, 0.78fr);
    gap: 10px;
    align-items: stretch;
  }

  body.ypi-de-active .ypi-de-field,
  body.ypi-de-active .ypi-de-field input,
  body.ypi-de-active .ypi-de-field select,
  body.ypi-de-active .ypi-de-search__submit {
    min-height: 52px;
  }
}

/* v1.3.18 premium homepage redesign
 * Visual-only upgrade inspired by the new YPI.AE mockup.
 * Keeps the existing server-rendered structure, search logic and Google Places behavior intact.
 */
:root {
  --ypi-de-primary: #2d8b73;
  --ypi-de-primary-dark: #236e5b;
  --ypi-de-accent: #eaf8fb;
  --ypi-de-bg: #f4f8f7;
  --ypi-de-text: #15211f;
  --ypi-de-muted: #60706d;
  --ypi-de-line: rgba(15, 35, 32, 0.09);
  --ypi-de-radius: 8px;
  --ypi-de-shadow: 0 24px 60px rgba(15, 35, 32, 0.12);
  --ypi-de-shadow-soft: 0 14px 34px rgba(15, 35, 32, 0.07);
}

html body.ypi-de-active,
html body.ypi-de-active .ypi-de,
html body.ypi-de-active .ypi-de * {
  font-weight: 400;
}

body.ypi-de-active .ypi-de :where(h1,h2,h3,strong,b,.ypi-de-button,.ypi-de-search__submit,.ypi-de-search__tab,.ypi-de-inline-link,.ypi-de-chip,.ypi-de-seo-link,.ypi-de-nav__menu a,.ypi-de-nav__more > summary,.ypi-de-header__cta) {
  font-weight: 500 !important;
}

body.ypi-de-active .ypi-de {
  background:
    radial-gradient(circle at 15% 0%, rgba(45, 139, 115, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbfa 0%, var(--ypi-de-bg) 34%, #f6faf9 100%);
}

body.ypi-de-active .ypi-de-main {
  padding-top: 10px;
}

body.ypi-de-active .ypi-de-shell--narrow {
  width: min(1120px, calc(100% - 96px));
}

body.ypi-de-active .ypi-de-header {
  position: relative !important;
  top: 0 !important;
  z-index: 90 !important;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 35, 32, 0.06);
  box-shadow: 0 12px 34px rgba(15, 35, 32, 0.05);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

body.ypi-de-active .ypi-de-header__inner {
  min-height: 72px;
  gap: 14px;
}

body.ypi-de-active .ypi-de-brand {
  padding: 6px 8px;
  border-radius: var(--ypi-de-radius);
}

body.ypi-de-active .ypi-de-brand__logo {
  max-width: 158px;
  max-height: 38px;
}

body.ypi-de-active .ypi-de-nav__menu {
  gap: 4px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.ypi-de-active .ypi-de-nav__menu a,
body.ypi-de-active .ypi-de-nav__more > summary,
body.ypi-de-active .ypi-de-nav__more-summary {
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--ypi-de-radius);
  font-size: 13px;
  letter-spacing: -0.01em;
  color: #1f2d2b;
  background: transparent;
  border: 0;
}

body.ypi-de-active .ypi-de-nav__menu a:hover,
body.ypi-de-active .ypi-de-nav__menu .current-menu-item > a,
body.ypi-de-active .ypi-de-nav__more[open] > summary {
  color: var(--ypi-de-primary);
  background: rgba(45, 139, 115, 0.08);
  box-shadow: none;
}

body.ypi-de-active .ypi-de-nav__more-icon,
body.ypi-de-active .ypi-de-account-menu__icon,
body.ypi-de-active .ypi-de-header__cta,
body.ypi-de-active .ypi-de-header__cta.is-logged-in,
body.ypi-de-active .ypi-de-header__cta.navbar-logged-in-wrap.navbar {
  border-radius: var(--ypi-de-radius);
}

body.ypi-de-active .ypi-de-nav__more-icon {
  width: 28px;
  height: 28px;
  background: rgba(45, 139, 115, 0.12);
}

body.ypi-de-active .ypi-de-nav__dropdown,
body.ypi-de-active .ypi-de-account-menu__dropdown {
  border-radius: var(--ypi-de-radius);
  border: 1px solid rgba(15, 35, 32, 0.08);
  box-shadow: 0 24px 50px rgba(15, 35, 32, 0.14);
}

body.ypi-de-active .ypi-de-header__cta {
  min-height: 42px;
  padding: 0 16px;
  color: #1f2d2b;
  background: #fff;
  border-color: rgba(45, 139, 115, 0.18);
  box-shadow: 0 10px 24px rgba(15, 35, 32, 0.06);
}

body.ypi-de-active .ypi-de-header__cta:hover {
  color: #fff;
  background: var(--ypi-de-primary);
  border-color: var(--ypi-de-primary);
}

body.ypi-de-active .ypi-de-hero-wrap--wide {
  width: min(1440px, calc(100% - 72px));
}

body.ypi-de-active .ypi-de-hero__media,
body.ypi-de-active .ypi-de-hero__inner {
  min-height: 430px;
}

body.ypi-de-active .ypi-de-hero__media {
  border-radius: var(--ypi-de-radius);
  box-shadow: 0 28px 70px rgba(15, 35, 32, 0.13);
  background-position: center center;
}

body.ypi-de-active .ypi-de-hero__overlay {
  background:
    linear-gradient(90deg, rgba(45, 139, 115, 0.55), rgba(15, 35, 32, 0.20) 52%, rgba(15, 35, 32, 0.06)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.20));
}

body.ypi-de-active .ypi-de-hero__inner {
  justify-content: center;
  gap: 14px;
  padding: 26px 34px 22px;
}

body.ypi-de-active .ypi-de-hero__content {
  max-width: 760px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.ypi-de-active .ypi-de-hero__title {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-shadow: 0 14px 32px rgba(7, 20, 18, 0.25);
}

body.ypi-de-active .ypi-de-hero__text {
  max-width: 690px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}

body.ypi-de-active .ypi-de-hero__actions {
  gap: 12px;
  margin-top: 18px;
}

body.ypi-de-active .ypi-de-button,
body.ypi-de-active .ypi-de-search__submit {
  min-height: 48px;
  border-radius: var(--ypi-de-radius);
  box-shadow: 0 14px 30px rgba(45, 139, 115, 0.28);
}

body.ypi-de-active .ypi-de-button--primary,
body.ypi-de-active .ypi-de-search__submit {
  background: linear-gradient(135deg, var(--ypi-de-primary), var(--ypi-de-primary-dark));
}

body.ypi-de-active .ypi-de-button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

body.ypi-de-active .ypi-de-search-card {
  width: min(920px, calc(100% - 140px));
  margin-top: 2px;
  padding: 16px;
  border-radius: var(--ypi-de-radius);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 64px rgba(15, 35, 32, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.ypi-de-active .ypi-de-search {
  gap: 12px;
}

body.ypi-de-active .ypi-de-search__tabs {
  padding: 4px;
  border-radius: var(--ypi-de-radius);
  background: #f4faf8;
  box-shadow: inset 0 0 0 1px rgba(15, 35, 32, 0.06);
}

body.ypi-de-active .ypi-de-search__tab {
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--ypi-de-radius);
  color: #1f2d2b;
}

body.ypi-de-active .ypi-de-search__tab.is-active {
  color: #fff;
  background: var(--ypi-de-primary);
  box-shadow: 0 10px 24px rgba(45, 139, 115, 0.26);
}

body.ypi-de-active .ypi-de-search__row {
  grid-template-columns: minmax(0, 2.65fr) minmax(210px, 1.05fr) minmax(170px, 0.86fr);
  gap: 10px;
}

body.ypi-de-active .ypi-de-field,
body.ypi-de-active .ypi-de-field input,
body.ypi-de-active .ypi-de-field select,
body.ypi-de-active .ypi-de-search__submit {
  min-height: 52px;
}

body.ypi-de-active .ypi-de-field {
  border-radius: var(--ypi-de-radius);
  border: 1px solid rgba(15, 35, 32, 0.09);
  background: #fff;
  overflow: visible;
}

body.ypi-de-active .ypi-de-field::before {
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: var(--ypi-de-radius);
  background: #eef9f7;
  border-color: rgba(45, 139, 115, 0.14);
}

body.ypi-de-active .ypi-de-field::after {
  left: 21px;
}

body.ypi-de-active .ypi-de-field input,
body.ypi-de-active .ypi-de-field select {
  border: 0;
  border-radius: var(--ypi-de-radius);
  padding-left: 54px;
  font-size: 14px;
  background: transparent;
  box-shadow: none;
}

body.ypi-de-active .ypi-de-field:hover,
body.ypi-de-active .ypi-de-field.is-focused {
  transform: translateY(-1px);
  border-color: rgba(45, 139, 115, 0.28);
  box-shadow: 0 10px 24px rgba(15, 35, 32, 0.07);
}

body.ypi-de-active .ypi-de-search__quicklinks {
  gap: 8px;
}

body.ypi-de-active .ypi-de-search__quicklink,
body.ypi-de-active .ypi-de-chip,
body.ypi-de-active .ypi-de-seo-link {
  min-height: 34px;
  border-radius: var(--ypi-de-radius);
  background: #fff;
  border: 1px solid rgba(15, 35, 32, 0.09);
  box-shadow: none;
}

body.ypi-de-active .ypi-de-search__quicklink {
  background: #f8fcfb;
  color: var(--ypi-de-primary);
}

body.ypi-de-active .ypi-de-search__quicklink::before {
  width: 8px;
  height: 8px;
  border-radius: var(--ypi-de-radius);
  background: var(--ypi-de-primary);
  box-shadow: 0 0 0 4px rgba(45, 139, 115, 0.10);
}

body.ypi-de-active .ypi-de-section {
  margin-top: 30px;
}

body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section {
  margin-top: 20px;
}

body.ypi-de-active .ypi-de-section__head {
  margin-bottom: 16px;
}

body.ypi-de-active .ypi-de-section h2,
body.ypi-de-active .ypi-de-seo-box h2,
body.ypi-de-active .ypi-de-footer-cta h2,
body.ypi-de-active .ypi-de-band h2,
body.ypi-de-active .ypi-de-link-panel h2 {
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

body.ypi-de-active .ypi-de-section--blog .ypi-de-section__head h2,
body.ypi-de-active .ypi-de-section--agencies .ypi-de-section__head h2,
body.ypi-de-active .ypi-de-section--properties .ypi-de-section__head h2 {
  font-size: clamp(22px, 1.65vw, 28px);
}

body.ypi-de-active .ypi-de-band {
  position: relative;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  padding: 24px 26px;
  border-radius: var(--ypi-de-radius);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.24), transparent 30%),
    linear-gradient(135deg, var(--ypi-de-primary), var(--ypi-de-primary-dark));
  box-shadow: 0 20px 48px rgba(45, 139, 115, 0.22);
  overflow: hidden;
}

body.ypi-de-active .ypi-de-band::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  width: 52px;
  height: 52px;
  border-radius: var(--ypi-de-radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8Z'/%3E%3C/svg%3E") center/26px 26px no-repeat;
  border: 1px solid rgba(255,255,255,0.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

body.ypi-de-active .ypi-de-band__copy {
  grid-column: 2;
}

body.ypi-de-active .ypi-de-band .ypi-de-button--light {
  grid-column: 3;
  min-height: 46px;
  color: var(--ypi-de-primary-dark);
  background: #fff;
  box-shadow: 0 12px 24px rgba(6, 127, 116, 0.18);
}

body.ypi-de-active .ypi-de-band h2 {
  color: #fff;
}

body.ypi-de-active .ypi-de-band p {
  max-width: 760px;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.7;
}

body.ypi-de-active .ypi-de-feature-grid--playful {
  gap: 18px;
}

body.ypi-de-active .ypi-de-feature-card,
body.ypi-de-active .ypi-de-post-card,
body.ypi-de-active .ypi-de-property-card,
body.ypi-de-active .ypi-de-link-panel,
body.ypi-de-active .ypi-de-seo-box,
body.ypi-de-active .ypi-de-footer-cta,
body.ypi-de-active .ypi-de-agency-card {
  border-radius: var(--ypi-de-radius);
  border-color: rgba(15, 35, 32, 0.08);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 35, 32, 0.07);
}

body.ypi-de-active .ypi-de-feature-card,
body.ypi-de-active .ypi-de-property-card,
body.ypi-de-active .ypi-de-post-card,
body.ypi-de-active .ypi-de-agency-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.ypi-de-active .ypi-de-feature-card:hover,
body.ypi-de-active .ypi-de-property-card:hover,
body.ypi-de-active .ypi-de-post-card:hover,
body.ypi-de-active .ypi-de-agency-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 139, 115, 0.22);
  box-shadow: 0 24px 54px rgba(15, 35, 32, 0.12);
}

body.ypi-de-active .ypi-de-feature-card {
  min-height: 214px;
  padding: 22px;
  background: linear-gradient(180deg, #fff, #fbfdfc);
}

body.ypi-de-active .ypi-de-feature-card__tag {
  min-height: 26px;
  min-width: 0;
  border-radius: var(--ypi-de-radius);
  color: var(--ypi-de-primary);
  background: rgba(45, 139, 115, 0.10);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

body.ypi-de-active .ypi-de-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ypi-de-radius);
  color: var(--ypi-de-primary);
  background: #f1fbfa;
  border-color: rgba(45, 139, 115, 0.13);
  box-shadow: 0 10px 24px rgba(15, 35, 32, 0.06);
}

body.ypi-de-active .ypi-de-feature-card h3 {
  margin-top: 16px;
  font-size: 21px;
  line-height: 1.24;
}

body.ypi-de-active .ypi-de-feature-card p {
  font-size: 13.5px;
  line-height: 1.65;
}

body.ypi-de-active .ypi-de-inline-link,
body.ypi-de-active .ypi-de-inline-link--arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ypi-de-primary);
}

body.ypi-de-active .ypi-de-inline-link:not(.ypi-de-inline-link--arrow)::after {
  content: "→";
  margin-left: 6px;
  transition: transform .18s ease;
}

body.ypi-de-active .ypi-de-inline-link:hover::after {
  transform: translateX(3px);
}

body.ypi-de-active .ypi-de-carousel__controls {
  gap: 8px;
}

body.ypi-de-active .ypi-de-carousel__arrow {
  width: 36px;
  height: 36px;
  border-radius: var(--ypi-de-radius);
  box-shadow: 0 10px 24px rgba(15, 35, 32, 0.06);
}

body.ypi-de-active .ypi-de-carousel__track {
  gap: 18px;
  padding: 4px 2px 10px;
}

body.ypi-de-active .ypi-de-property-card--compact .ypi-de-property-card__media,
body.ypi-de-active .ypi-de-property-card__media {
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: #edf5f3;
}

body.ypi-de-active .ypi-de-property-card__media img,
body.ypi-de-active .ypi-de-post-card__media img {
  transition: transform .34s ease;
}

body.ypi-de-active .ypi-de-property-card:hover .ypi-de-property-card__media img,
body.ypi-de-active .ypi-de-post-card:hover .ypi-de-post-card__media img {
  transform: scale(1.04);
}

body.ypi-de-active .ypi-de-pill {
  top: 12px;
  left: 12px;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: var(--ypi-de-radius);
  background: rgba(21, 33, 31, 0.78);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.ypi-de-active .ypi-de-property-card--compact .ypi-de-property-card__body,
body.ypi-de-active .ypi-de-property-card__body {
  padding: 15px 15px 16px;
}

body.ypi-de-active .ypi-de-property-card__price,
body.ypi-de-active .ypi-de-property-card--compact .ypi-de-property-card__price {
  color: var(--ypi-de-primary);
  font-size: 17px;
  line-height: 1.2;
}

body.ypi-de-active .ypi-de-property-card h3,
body.ypi-de-active .ypi-de-property-card--compact h3 {
  margin-top: 9px;
  font-size: 16px;
  line-height: 1.36;
  letter-spacing: -0.015em;
}

body.ypi-de-active .ypi-de-property-card__location,
body.ypi-de-active .ypi-de-property-card--compact .ypi-de-property-card__location {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.45;
  color: #6d7b78;
  font-weight: 400 !important;
}

body.ypi-de-active .ypi-de-property-card__meta,
body.ypi-de-active .ypi-de-property-card--compact .ypi-de-property-card__meta {
  gap: 8px;
  margin-top: 13px;
}

body.ypi-de-active .ypi-de-property-card__meta li,
body.ypi-de-active .ypi-de-property-card--compact .ypi-de-property-card__meta li {
  padding: 8px 6px;
  border-radius: var(--ypi-de-radius);
  background: #f4fbfa;
  border: 1px solid rgba(45, 139, 115, 0.10);
}

body.ypi-de-active .ypi-de-property-card__meta strong {
  font-size: 14px;
  font-weight: 500 !important;
}

body.ypi-de-active .ypi-de-property-card__meta span {
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 400 !important;
}

body.ypi-de-active .ypi-de-property-card__body > .ypi-de-inline-link {
  margin-top: 12px;
  font-size: 13px;
}

body.ypi-de-active .ypi-de-link-panels {
  gap: 20px;
}

body.ypi-de-active .ypi-de-link-panel,
body.ypi-de-active .ypi-de-seo-box {
  padding: 24px;
}

body.ypi-de-active .ypi-de-link-panel--locations h2,
body.ypi-de-active .ypi-de-link-panel--types h2 {
  font-size: clamp(18px, 1.55vw, 23px);
}

body.ypi-de-active .ypi-de-chip-grid,
body.ypi-de-active .ypi-de-seo-grid {
  gap: 9px;
}

body.ypi-de-active .ypi-de-chip,
body.ypi-de-active .ypi-de-seo-link {
  min-height: 34px;
  padding: 0 13px;
  font-size: 12.5px;
  color: #2b3835;
  background: #fff;
}

body.ypi-de-active .ypi-de-chip:hover,
body.ypi-de-active .ypi-de-seo-link:hover {
  color: var(--ypi-de-primary-dark);
  background: rgba(45, 139, 115, 0.07);
  border-color: rgba(45, 139, 115, 0.26);
}

body.ypi-de-active .ypi-de-carousel__track--agencies {
  grid-auto-columns: calc((100% - 70px) / 6);
  gap: 14px;
}

body.ypi-de-active .ypi-de-agency-card__media {
  aspect-ratio: 1.72 / 1;
  padding: 16px;
  background: linear-gradient(180deg, #fff, #f7fbfa);
}

body.ypi-de-active .ypi-de-agency-card__media img {
  object-fit: contain;
}

body.ypi-de-active .ypi-de-agency-card__placeholder {
  width: 54px;
  height: 54px;
  border-radius: var(--ypi-de-radius);
  background: rgba(45, 139, 115, 0.11);
  color: var(--ypi-de-primary);
  font-size: 22px;
  font-weight: 500 !important;
}

body.ypi-de-active .ypi-de-agency-card__body {
  padding: 9px 11px 12px;
}

body.ypi-de-active .ypi-de-agency-card h3 {
  font-size: 12.5px;
  line-height: 1.3;
}

body.ypi-de-active .ypi-de-agency-card__meta-primary,
body.ypi-de-active .ypi-de-agency-card__meta-secondary {
  border-radius: var(--ypi-de-radius);
  font-weight: 500 !important;
}

body.ypi-de-active .ypi-de-post-grid--compact {
  gap: 18px;
}

body.ypi-de-active .ypi-de-post-card--compact .ypi-de-post-card__media,
body.ypi-de-active .ypi-de-post-card__media {
  aspect-ratio: 1.72 / 1;
  overflow: hidden;
}

body.ypi-de-active .ypi-de-post-card--compact .ypi-de-post-card__body,
body.ypi-de-active .ypi-de-post-card__body {
  padding: 15px 15px 17px;
}

body.ypi-de-active .ypi-de-post-card__date {
  color: #7a8885;
  font-size: 11px;
  font-weight: 400 !important;
}

body.ypi-de-active .ypi-de-post-card h3,
body.ypi-de-active .ypi-de-post-card--compact h3 {
  margin-top: 9px;
  font-size: 17px;
  line-height: 1.36;
}

body.ypi-de-active .ypi-de-post-card p,
body.ypi-de-active .ypi-de-post-card--compact p {
  margin-top: 8px;
  font-size: 12.8px;
  line-height: 1.62;
  color: #60706d;
  font-weight: 400 !important;
}

body.ypi-de-active .ypi-de-footer-cta {
  position: relative;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 26px;
  background: linear-gradient(135deg, #ffffff, #effbf9);
  border-color: rgba(45, 139, 115, 0.16);
}

body.ypi-de-active .ypi-de-footer-cta::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  width: 56px;
  height: 56px;
  border-radius: var(--ypi-de-radius);
  background:
    linear-gradient(135deg, var(--ypi-de-primary), var(--ypi-de-primary-dark)),
    var(--ypi-de-primary);
  box-shadow: 0 14px 28px rgba(45, 139, 115, 0.22);
}

body.ypi-de-active .ypi-de-footer-cta::after {
  content: "";
  position: absolute;
  left: 40px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5 10.5V20h14v-9.5'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}

body.ypi-de-active .ypi-de-footer-cta > div {
  grid-column: 2;
}

body.ypi-de-active .ypi-de-footer-cta .ypi-de-button {
  grid-column: 3;
}

body.ypi-de-active .ypi-de-footer-cta h2 {
  font-size: clamp(24px, 2.2vw, 34px);
}

body.ypi-de-active .ypi-de-footer-cta p {
  margin-top: 8px;
  max-width: 760px;
  color: #647471;
  font-size: 14px;
  line-height: 1.7;
}

body.ypi-de-active .ypi-de-footer {
  margin-top: 44px;
  color: #fff;
  background: linear-gradient(135deg, #075e6a, #064b55);
  border-top: 0;
  border-radius: var(--ypi-de-radius) var(--ypi-de-radius) 0 0;
}

body.ypi-de-active .ypi-de-footer__inner {
  min-height: 112px;
}

body.ypi-de-active .ypi-de-footer p,
body.ypi-de-active .ypi-de-footer__nav a {
  color: rgba(255,255,255,0.82);
  font-weight: 400 !important;
}

body.ypi-de-active .ypi-de-footer__nav a:hover {
  color: #fff;
}

body.ypi-de-active .ypi-de-footer__logo {
  filter: none;
  max-height: 34px;
}

@media (max-width: 1200px) {
  body.ypi-de-active .ypi-de-shell--narrow {
    width: min(1180px, calc(100% - 56px));
  }

  body.ypi-de-active .ypi-de-hero-wrap--wide {
    width: min(1280px, calc(100% - 48px));
  }

  body.ypi-de-active .ypi-de-search-card {
    width: min(900px, calc(100% - 72px));
  }

  body.ypi-de-active .ypi-de-search__row {
    grid-template-columns: minmax(0, 2.3fr) minmax(190px, 0.98fr) minmax(150px, 0.78fr);
  }

  body.ypi-de-active .ypi-de-carousel__track--agencies {
    grid-auto-columns: calc((100% - 42px) / 4);
  }
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-hero-wrap--wide {
    width: calc(100% - 36px);
  }

  body.ypi-de-active .ypi-de-search-card {
    width: min(960px, calc(100% - 44px));
  }

  body.ypi-de-active .ypi-de-search__row {
    grid-template-columns: minmax(0, 2.3fr) minmax(190px, 0.95fr) minmax(150px, 0.76fr);
  }
}

@media (max-width: 1024px) {
  body.ypi-de-active .ypi-de-shell--narrow {
    width: min(100%, calc(100% - 36px));
  }

  body.ypi-de-active .ypi-de-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  body.ypi-de-active .ypi-de-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  body.ypi-de-active .ypi-de-nav__menu {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  body.ypi-de-active .ypi-de-hero__media,
  body.ypi-de-active .ypi-de-hero__inner {
    min-height: 520px;
  }

  body.ypi-de-active .ypi-de-search-card {
    width: min(100%, calc(100% - 36px));
  }

  body.ypi-de-active .ypi-de-feature-grid,
  body.ypi-de-active .ypi-de-link-panels,
  body.ypi-de-active .ypi-de-band,
  body.ypi-de-active .ypi-de-footer-cta {
    grid-template-columns: 1fr;
  }

  body.ypi-de-active .ypi-de-band::before,
  body.ypi-de-active .ypi-de-band__copy,
  body.ypi-de-active .ypi-de-band .ypi-de-button--light,
  body.ypi-de-active .ypi-de-footer-cta::before,
  body.ypi-de-active .ypi-de-footer-cta > div,
  body.ypi-de-active .ypi-de-footer-cta .ypi-de-button {
    grid-column: auto;
  }

  body.ypi-de-active .ypi-de-footer-cta::after {
    left: 40px;
    top: 54px;
  }
}

@media (max-width: 820px) {
  body.ypi-de-active .ypi-de-main {
    padding-top: 12px;
  }

  body.ypi-de-active .ypi-de-shell,
  body.ypi-de-active .ypi-de-shell--narrow,
  body.ypi-de-active .ypi-de-hero-wrap--wide {
    width: calc(100% - 24px);
  }

  body.ypi-de-active .ypi-de-hero__media,
  body.ypi-de-active .ypi-de-hero__inner {
    min-height: 560px;
  }

  body.ypi-de-active .ypi-de-hero__inner {
    padding: 24px 18px 18px;
  }

  body.ypi-de-active .ypi-de-hero__title {
    font-size: clamp(25px, 7vw, 34px);
  }

  body.ypi-de-active .ypi-de-search-card {
    width: calc(100% - 18px);
    padding: 12px;
  }

  body.ypi-de-active .ypi-de-search__row {
    grid-template-columns: 1fr;
  }

  body.ypi-de-active .ypi-de-band,
  body.ypi-de-active .ypi-de-link-panel,
  body.ypi-de-active .ypi-de-seo-box,
  body.ypi-de-active .ypi-de-footer-cta {
    padding: 20px;
  }

  body.ypi-de-active .ypi-de-footer__inner {
    text-align: center;
  }

  body.ypi-de-active .ypi-de-footer__logo {
    margin: 0 auto;
  }
}

/* v1.3.19 - Premium header + hero + search panel alignment with the approved mockup. */
body.ypi-de-active{--ypi-de-primary-dark:#236e5b;--ypi-de-header-shadow:0 10px 30px rgba(15,23,42,.055);--ypi-de-card-shadow-strong:0 26px 70px rgba(15,23,42,.18)}
body.ypi-de-active .ypi-de-main{padding-top:10px}
body.ypi-de-active .ypi-de-header{position:sticky;top:0;z-index:30;overflow:visible;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(15,23,42,.06);box-shadow:var(--ypi-de-header-shadow);backdrop-filter:blur(16px) saturate(160%);-webkit-backdrop-filter:blur(16px) saturate(160%)}
body.admin-bar.ypi-de-active .ypi-de-header{top:32px}
body.ypi-de-active .ypi-de-header .ypi-de-shell{width:min(1480px,calc(100% - 24px))}
body.ypi-de-active .ypi-de-header__inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:74px}
body.ypi-de-active .ypi-de-brand,body.ypi-de-active .ypi-de-brand:hover{display:inline-flex;align-items:center;min-height:48px;padding:0;border-radius:var(--ypi-de-radius);background:transparent;box-shadow:none;transform:none}
body.ypi-de-active .ypi-de-brand__logo{max-width:132px;max-height:38px;width:auto;height:auto;object-fit:contain}
body.ypi-de-active .ypi-de-nav{display:flex;justify-content:center;align-items:center;min-width:0;margin:0}
body.ypi-de-active .ypi-de-nav__menu{display:flex;justify-content:center;align-items:center;gap:8px;width:auto;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body.ypi-de-active .ypi-de-nav__menu a,body.ypi-de-active .ypi-de-nav__more>summary,body.ypi-de-active .ypi-de-nav__more-summary{min-height:38px;padding:0 12px;border-radius:var(--ypi-de-radius);color:#17211f;background:transparent;box-shadow:none;font-size:13px;font-weight:500!important;letter-spacing:-.01em}
body.ypi-de-active .ypi-de-nav__menu a:hover,body.ypi-de-active .ypi-de-nav__menu .current-menu-item>a,body.ypi-de-active .ypi-de-nav__dropdown a:hover,body.ypi-de-active .ypi-de-nav__dropdown a.is-current,body.ypi-de-active .ypi-de-nav__more[open]>summary{color:var(--ypi-de-primary);background:rgba(45,139,115,.08);box-shadow:none;transform:none}
body.ypi-de-active .ypi-de-nav__more>summary:after,body.ypi-de-active .ypi-de-nav__more-summary:after{display:none}
body.ypi-de-active .ypi-de-nav__more-icon{width:24px;height:24px;border-radius:999px;background:rgba(45,139,115,.12);box-shadow:inset 0 0 0 1px rgba(45,139,115,.1)}
body.ypi-de-active .ypi-de-nav__more-icon i{width:3px;height:3px}
body.ypi-de-active .ypi-de-nav__dropdown,body.ypi-de-active .ypi-de-account-menu__dropdown{border-radius:var(--ypi-de-radius);border:1px solid rgba(15,23,42,.08);background:rgba(255,255,255,.98);box-shadow:0 22px 46px rgba(15,23,42,.13);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
body.ypi-de-active .ypi-de-header__account{display:flex;justify-content:flex-end;align-items:center}
body.ypi-de-active .ypi-de-header__cta{min-height:46px;margin-left:0;padding:0 16px;border-radius:var(--ypi-de-radius);border:1px solid rgba(15,23,42,.1);background:#fff;color:#17211f;box-shadow:0 10px 22px rgba(15,23,42,.055);font-size:13px;font-weight:500!important}
body.ypi-de-active .ypi-de-header__account.is-guest .ypi-de-header__cta:before{content:"👤";font-size:16px;line-height:1;opacity:.75}
body.ypi-de-active .ypi-de-header__cta:hover{color:var(--ypi-de-primary);border-color:rgba(45,139,115,.28);background:#fff;box-shadow:0 14px 30px rgba(15,23,42,.075);transform:translateY(-1px)}
body.ypi-de-active .ypi-de-header__cta.is-logged-in,body.ypi-de-active .ypi-de-header__cta.navbar-logged-in-wrap.navbar{min-height:46px;height:46px;padding:4px 10px 4px 4px;border-radius:var(--ypi-de-radius)}
body.ypi-de-active .ypi-de-header__avatar,body.ypi-de-active .ypi-de-header__avatar .avatar,body.ypi-de-active .ypi-de-header__avatar-image,body.ypi-de-active .ypi-de-header__avatar-fallback{width:36px;height:36px}
body.ypi-de-active .ypi-de-hero-wrap,body.ypi-de-active .ypi-de-hero-wrap--wide{width:min(1480px,calc(100% - 24px));margin-top:8px}
body.ypi-de-active .ypi-de-hero{overflow:visible;background:transparent}
body.ypi-de-active .ypi-de-hero__media{position:relative;min-height:430px;overflow:hidden;border-radius:var(--ypi-de-radius);background-position:center center;background-size:cover;box-shadow:0 22px 58px rgba(15,23,42,.12)}
body.ypi-de-active .ypi-de-hero__overlay{position:absolute;inset:0;background:radial-gradient(circle at 50% 16%,rgba(255,255,255,.16),transparent 28%),linear-gradient(90deg,rgba(7,25,23,.44),rgba(7,25,23,.2) 34%,rgba(7,25,23,.18) 66%,rgba(7,25,23,.36)),linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.22))}
body.ypi-de-active .ypi-de-hero__inner{position:relative;z-index:1;min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:18px;padding:50px 34px 24px}
body.ypi-de-active .ypi-de-hero__content{max-width:820px;margin:0 auto;text-align:center;color:#fff}
body.ypi-de-active .ypi-de-hero__title{max-width:820px;margin:0 auto 12px;color:#fff;font-size:clamp(30px,3.1vw,46px);line-height:1.08;font-weight:500!important;letter-spacing:-.045em;text-shadow:0 3px 20px rgba(0,0,0,.2)}
body.ypi-de-active .ypi-de-hero__text{max-width:720px;margin:0 auto;color:rgba(255,255,255,.94);font-size:15.5px;line-height:1.68;font-weight:400!important;text-shadow:0 2px 16px rgba(0,0,0,.2)}
body.ypi-de-active .ypi-de-hero__actions{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:22px}
body.ypi-de-active .ypi-de-button,body.ypi-de-active .ypi-de-search__submit{min-height:50px;border-radius:var(--ypi-de-radius);font-size:14px;font-weight:500!important}
body.ypi-de-active .ypi-de-button--primary,body.ypi-de-active .ypi-de-search__submit{border-color:var(--ypi-de-primary);background:linear-gradient(135deg,var(--ypi-de-primary),var(--ypi-de-primary-dark));color:#fff;box-shadow:0 14px 30px rgba(45,139,115,.26)}
body.ypi-de-active .ypi-de-button--ghost{border-color:rgba(255,255,255,.48);background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.18);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
body.ypi-de-active .ypi-de-button--primary:hover,body.ypi-de-active .ypi-de-search__submit:hover{color:#fff;border-color:var(--ypi-de-primary);box-shadow:0 18px 36px rgba(45,139,115,.34)}
body.ypi-de-active .ypi-de-search-card,body.ypi-de-active .ypi-de-search-card--in-hero{width:min(940px,calc(100% - 120px));margin:0 auto;padding:18px;border-radius:var(--ypi-de-radius);border:1px solid rgba(255,255,255,.78);background:rgba(255,255,255,.965);box-shadow:var(--ypi-de-card-shadow-strong);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
body.ypi-de-active .ypi-de-search{display:grid;gap:14px}
body.ypi-de-active .ypi-de-search__tabs{display:inline-flex;align-items:center;justify-content:flex-start;gap:0;width:max-content;max-width:100%;padding:3px;border-radius:var(--ypi-de-radius);border:1px solid rgba(15,23,42,.07);background:#f7faf9}
body.ypi-de-active .ypi-de-search__tab{min-height:36px;padding:0 18px;border:0;border-radius:calc(var(--ypi-de-radius) - 1px);background:transparent;color:#293b38;box-shadow:none;font-size:13px;font-weight:500!important}
body.ypi-de-active .ypi-de-search__tab.is-active{background:var(--ypi-de-primary);color:#fff;box-shadow:0 8px 18px rgba(45,139,115,.22)}
body.ypi-de-active .ypi-de-search__row{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(190px,.92fr) minmax(154px,.74fr);gap:12px;align-items:stretch}
body.ypi-de-active .ypi-de-field{position:relative;display:flex;align-items:center;min-height:54px;overflow:hidden;border-radius:var(--ypi-de-radius);border:1px solid rgba(15,23,42,.09);background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.035);transition:border-color .18s ease,box-shadow .18s ease}
body.ypi-de-active .ypi-de-field:before{position:absolute;left:16px;top:50%;z-index:1;width:18px;height:18px;transform:translateY(-50%);color:var(--ypi-de-primary);opacity:.78;font-size:17px;line-height:1;text-align:center;pointer-events:none}
body.ypi-de-active .ypi-de-field--location:before{content:"⌖"}body.ypi-de-active .ypi-de-field--type:before{content:"⌂"}
body.ypi-de-active .ypi-de-field:focus-within{border-color:rgba(45,139,115,.52);box-shadow:0 0 0 4px rgba(45,139,115,.11),0 10px 22px rgba(15,23,42,.045)}
body.ypi-de-active .ypi-de-field input,body.ypi-de-active .ypi-de-field select{min-height:54px;padding:0 42px 0 46px;border:0;background-color:transparent;color:#17211f;font-size:14px;font-weight:400!important;outline:none}
body.ypi-de-active .ypi-de-field select{cursor:pointer;background-position:calc(100% - 22px) calc(50% - 3px),calc(100% - 16px) calc(50% - 3px)}
body.ypi-de-active .ypi-de-search__submit{min-height:54px;width:100%;padding:0 22px;border-radius:var(--ypi-de-radius);font-size:14px}
body.ypi-de-active .ypi-de-search__quicklinks{display:flex;flex-wrap:wrap;gap:8px;padding-top:0}
body.ypi-de-active .ypi-de-search__quicklink{display:inline-flex;align-items:center;gap:7px;min-height:31px;padding:0 12px;border-radius:var(--ypi-de-radius);border:1px solid rgba(45,139,115,.2);background:rgba(255,255,255,.84);color:var(--ypi-de-primary);box-shadow:0 7px 16px rgba(15,23,42,.035);font-size:12px;font-weight:500!important}
body.ypi-de-active .ypi-de-search__quicklink:before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--ypi-de-primary);box-shadow:0 0 0 4px rgba(45,139,115,.1)}
body.ypi-de-active .ypi-de-search__quicklink--smart:before{border-radius:2px;transform:rotate(45deg)}
body.ypi-de-active .ypi-de-search__quicklink:hover{color:#fff;border-color:var(--ypi-de-primary);background:var(--ypi-de-primary);transform:translateY(-1px)}
body.ypi-de-active .ypi-de-search__quicklink:hover:before{background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.16)}
@media (min-width:821px) and (max-width:1180px) and (orientation:landscape){body.ypi-de-active .ypi-de-header .ypi-de-shell,body.ypi-de-active .ypi-de-hero-wrap,body.ypi-de-active .ypi-de-hero-wrap--wide{width:calc(100% - 28px)}body.ypi-de-active .ypi-de-header__inner{gap:10px;min-height:70px}body.ypi-de-active .ypi-de-brand__logo{max-width:118px}body.ypi-de-active .ypi-de-nav__menu{gap:4px}body.ypi-de-active .ypi-de-nav__menu a,body.ypi-de-active .ypi-de-nav__more>summary{min-height:36px;padding:0 9px;font-size:12.5px}body.ypi-de-active .ypi-de-header__cta{min-height:42px;padding:0 12px;font-size:12.5px}body.ypi-de-active .ypi-de-hero__media,body.ypi-de-active .ypi-de-hero__inner{min-height:410px}body.ypi-de-active .ypi-de-hero__inner{padding:38px 24px 20px}body.ypi-de-active .ypi-de-hero__title{font-size:clamp(26px,3.1vw,38px)}body.ypi-de-active .ypi-de-search-card,body.ypi-de-active .ypi-de-search-card--in-hero{width:min(900px,calc(100% - 48px))}body.ypi-de-active .ypi-de-search__row{grid-template-columns:minmax(0,2.1fr) minmax(180px,.92fr) minmax(148px,.72fr)}}
@media (max-width:1024px){body.ypi-de-active .ypi-de-header__inner{grid-template-columns:auto 1fr auto}body.ypi-de-active .ypi-de-nav{grid-column:1/-1;order:3;width:100%;justify-content:flex-start;overflow-x:auto;padding-bottom:8px}body.ypi-de-active .ypi-de-nav__menu{justify-content:flex-start;flex-wrap:nowrap;min-width:max-content}body.ypi-de-active .ypi-de-search-card,body.ypi-de-active .ypi-de-search-card--in-hero{width:min(100%,calc(100% - 36px))}}
@media (max-width:820px){body.admin-bar.ypi-de-active .ypi-de-header{top:46px}body.ypi-de-active .ypi-de-main{padding-top:8px}body.ypi-de-active .ypi-de-header .ypi-de-shell,body.ypi-de-active .ypi-de-hero-wrap,body.ypi-de-active .ypi-de-hero-wrap--wide{width:calc(100% - 20px)}body.ypi-de-active .ypi-de-hero__media,body.ypi-de-active .ypi-de-hero__inner{min-height:610px}body.ypi-de-active .ypi-de-hero__inner{padding:34px 14px 18px}body.ypi-de-active .ypi-de-hero__title{font-size:clamp(27px,8vw,36px)}body.ypi-de-active .ypi-de-hero__text{font-size:14px;line-height:1.62}body.ypi-de-active .ypi-de-hero__actions{margin-top:18px}body.ypi-de-active .ypi-de-search-card,body.ypi-de-active .ypi-de-search-card--in-hero{width:calc(100% - 16px);padding:12px}body.ypi-de-active .ypi-de-search__tabs{width:100%}body.ypi-de-active .ypi-de-search__tab{flex:1 1 0;padding:0 10px}body.ypi-de-active .ypi-de-search__row{grid-template-columns:1fr}}

/* v1.3.20 - Mockup-accurate attached header/hero and true overlapping search panel. */
body.ypi-de-active {
  --ypi-de-hero-overlap: 74px;
  --ypi-de-hero-height: 430px;
}

body.ypi-de-active .ypi-de-main {
  padding-top: 0 !important;
}

body.ypi-de-active .ypi-de-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05) !important;
}

body.ypi-de-active .ypi-de-header__inner {
  min-height: 70px !important;
}

body.ypi-de-active .ypi-de-header .ypi-de-shell {
  width: min(1480px, calc(100% - 48px)) !important;
}

body.ypi-de-active .ypi-de-hero-wrap,
body.ypi-de-active .ypi-de-hero-wrap--wide {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto var(--ypi-de-hero-overlap) !important;
}

body.ypi-de-active .ypi-de-hero {
  background: transparent !important;
  overflow: visible !important;
}

body.ypi-de-active .ypi-de-hero__media {
  min-height: var(--ypi-de-hero-height) !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background-position: center center !important;
  box-shadow: none !important;
}

body.ypi-de-active .ypi-de-hero__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

body.ypi-de-active .ypi-de-hero__overlay {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.13), transparent 27%),
    linear-gradient(90deg, rgba(7, 25, 23, 0.42), rgba(7, 25, 23, 0.18) 38%, rgba(7, 25, 23, 0.18) 64%, rgba(7, 25, 23, 0.38)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.24)) !important;
}

body.ypi-de-active .ypi-de-hero__inner {
  min-height: var(--ypi-de-hero-height) !important;
  justify-content: flex-start !important;
  padding: 56px 32px 38px !important;
  overflow: visible !important;
}

body.ypi-de-active .ypi-de-hero__content {
  max-width: 850px !important;
  margin: 0 auto !important;
}

body.ypi-de-active .ypi-de-hero__title {
  max-width: 880px !important;
  font-size: clamp(34px, 3.2vw, 52px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.045em !important;
  margin-bottom: 12px !important;
}

body.ypi-de-active .ypi-de-hero__text {
  max-width: 760px !important;
  font-size: 15.5px !important;
  line-height: 1.7 !important;
}

body.ypi-de-active .ypi-de-hero__actions {
  margin-top: 22px !important;
}

body.ypi-de-active .ypi-de-search-card,
body.ypi-de-active .ypi-de-search-card--in-hero {
  position: absolute !important;
  left: 50% !important;
  bottom: calc(-1 * var(--ypi-de-hero-overlap)) !important;
  z-index: 4 !important;
  width: min(920px, calc(100% - 360px)) !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  padding: 18px !important;
  border-radius: var(--ypi-de-radius) !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  background: rgba(255, 255, 255, 0.965) !important;
  box-shadow: 0 28px 74px rgba(15, 23, 42, 0.20) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
}

body.ypi-de-active .ypi-de-search__row {
  grid-template-columns: minmax(0, 2.15fr) minmax(190px, 0.9fr) minmax(164px, 0.72fr) !important;
}

body.ypi-de-active .ypi-de-search__tabs {
  border-radius: var(--ypi-de-radius) !important;
}

body.ypi-de-active .ypi-de-search__tab,
body.ypi-de-active .ypi-de-field,
body.ypi-de-active .ypi-de-search__submit,
body.ypi-de-active .ypi-de-search__quicklink {
  border-radius: var(--ypi-de-radius) !important;
}

body.ypi-de-active .ypi-de-section:first-of-type,
body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section {
  margin-top: 32px !important;
}

body.ypi-de-active .ypi-de-band {
  margin-top: 0 !important;
}

@media (min-width: 1481px) {
  body.ypi-de-active .ypi-de-search-card,
  body.ypi-de-active .ypi-de-search-card--in-hero {
    width: 940px !important;
  }
}

@media (min-width: 1025px) and (max-width: 1320px) {
  body.ypi-de-active .ypi-de-search-card,
  body.ypi-de-active .ypi-de-search-card--in-hero {
    width: min(920px, calc(100% - 180px)) !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active {
    --ypi-de-hero-overlap: 68px;
    --ypi-de-hero-height: 420px;
  }

  body.ypi-de-active .ypi-de-header .ypi-de-shell {
    width: min(100%, calc(100% - 32px)) !important;
  }

  body.ypi-de-active .ypi-de-hero-wrap,
  body.ypi-de-active .ypi-de-hero-wrap--wide {
    width: 100% !important;
  }

  body.ypi-de-active .ypi-de-hero__inner {
    padding: 48px 24px 34px !important;
  }

  body.ypi-de-active .ypi-de-search-card,
  body.ypi-de-active .ypi-de-search-card--in-hero {
    width: min(880px, calc(100% - 80px)) !important;
  }
}

@media (max-width: 1024px) {
  body.ypi-de-active .ypi-de-header__inner {
    min-height: 68px !important;
  }

  body.ypi-de-active .ypi-de-search-card,
  body.ypi-de-active .ypi-de-search-card--in-hero {
    width: min(900px, calc(100% - 48px)) !important;
  }
}

@media (max-width: 820px) {
  body.ypi-de-active {
    --ypi-de-hero-overlap: 0px;
    --ypi-de-hero-height: 610px;
  }

  body.ypi-de-active .ypi-de-main {
    padding-top: 0 !important;
  }

  body.ypi-de-active .ypi-de-header .ypi-de-shell,
  body.ypi-de-active .ypi-de-hero-wrap,
  body.ypi-de-active .ypi-de-hero-wrap--wide {
    width: 100% !important;
  }

  body.ypi-de-active .ypi-de-hero-wrap,
  body.ypi-de-active .ypi-de-hero-wrap--wide {
    margin-bottom: 0 !important;
  }

  body.ypi-de-active .ypi-de-hero__inner {
    padding: 34px 14px 18px !important;
  }

  body.ypi-de-active .ypi-de-search-card,
  body.ypi-de-active .ypi-de-search-card--in-hero {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: calc(100% - 20px) !important;
    transform: none !important;
    margin: 0 auto !important;
  }

  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section {
    margin-top: 28px !important;
  }
}

/* v1.3.21 - Add breathing room after the overlapping search panel. */
@media (min-width: 821px) {
  body.ypi-de-active {
    --ypi-de-after-hero-space: 34px;
  }

  body.ypi-de-active .ypi-de-hero-wrap,
  body.ypi-de-active .ypi-de-hero-wrap--wide {
    margin-bottom: calc(var(--ypi-de-hero-overlap) + var(--ypi-de-after-hero-space)) !important;
  }

  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section,
  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section.ypi-de-section--deferred.ypi-de-shell.ypi-de-shell--narrow {
    margin-top: 0 !important;
  }
}

body.ypi-de-active .ypi-de-property-card__price,
body.ypi-de-active .ypi-de-property-card--compact .ypi-de-property-card__price {
  white-space: nowrap;
}

/* v1.3.23 - Restored the footer CTA house icon and kept it centered inside the tile. */

/* Address Registry-first desktop autocomplete. Kept isolated so existing hero/search layout remains unchanged. */
.ypi-de-registry-suggestions {
  position: fixed;
  z-index: 100000;
  max-height: 320px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--ypi-de-radius, 8px);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.ypi-de-registry-suggestions[hidden] {
  display: none !important;
}

.ypi-de-registry-suggestion {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 9px 10px;
  border: 0;
  border-radius: var(--ypi-de-radius, 8px);
  background: transparent;
  color: #17211f;
  cursor: pointer;
  font-family: var(--ypi-de-font-family, Montserrat, Arial, sans-serif);
  text-align: left;
}

.ypi-de-registry-suggestion:hover,
.ypi-de-registry-suggestion.is-active {
  background: rgba(45, 139, 115, 0.09);
}

.ypi-de-registry-suggestion__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.ypi-de-registry-suggestion__meta {
  flex: 0 0 auto;
  color: rgba(23, 33, 31, 0.58);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

/* v1.3.31 - Footer URL refresh, tablet-landscape stability and large-screen hero spacing. */
@media (min-width: 1200px) {
  body.ypi-de-active {
    --ypi-de-hero-height: clamp(500px, 34vw, 560px);
    --ypi-de-hero-overlap: 104px;
    --ypi-de-after-hero-space: 42px;
  }

  body.ypi-de-active .ypi-de-hero__inner {
    min-height: var(--ypi-de-hero-height) !important;
    padding-top: clamp(54px, 5vw, 76px) !important;
    padding-bottom: 150px !important;
  }

  body.ypi-de-active .ypi-de-hero__media {
    min-height: var(--ypi-de-hero-height) !important;
  }

  body.ypi-de-active .ypi-de-hero__content {
    position: relative !important;
    z-index: 5 !important;
  }

  body.ypi-de-active .ypi-de-hero__actions {
    position: relative !important;
    z-index: 6 !important;
    margin-top: 24px !important;
  }

  body.ypi-de-active .ypi-de-search-card,
  body.ypi-de-active .ypi-de-search-card--in-hero {
    bottom: calc(-1 * var(--ypi-de-hero-overlap)) !important;
    z-index: 4 !important;
  }
}

@media (min-width: 768px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-header,
  body.ypi-de-sitewide-header .ypi-de-header {
    display: block !important;
  }

  body.ypi-de-active .ypi-de-nav,
  body.ypi-de-sitewide-header .ypi-de-nav {
    display: flex !important;
  }
}

@media (min-width: 768px) and (max-width: 820px) and (orientation: landscape) {
  body.ypi-de-active {
    --ypi-de-hero-overlap: 68px;
    --ypi-de-hero-height: 420px;
    --ypi-de-after-hero-space: 34px;
  }

  body.ypi-de-active .ypi-de-main {
    padding-top: 0 !important;
  }

  body.ypi-de-active .ypi-de-header,
  body.ypi-de-sitewide-header .ypi-de-header {
    display: block !important;
  }

  body.ypi-de-active .ypi-de-header .ypi-de-shell,
  body.ypi-de-active .ypi-de-hero-wrap,
  body.ypi-de-active .ypi-de-hero-wrap--wide {
    width: calc(100% - 28px) !important;
  }

  body.ypi-de-active .ypi-de-header__inner {
    grid-template-columns: auto 1fr auto !important;
    min-height: 70px !important;
    gap: 10px !important;
  }

  body.ypi-de-active .ypi-de-nav,
  body.ypi-de-sitewide-header .ypi-de-nav {
    display: flex !important;
    grid-column: 1 / -1 !important;
    order: 3 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 8px !important;
  }

  body.ypi-de-active .ypi-de-nav__menu {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    min-width: max-content !important;
  }

  body.ypi-de-active .ypi-de-hero__media,
  body.ypi-de-active .ypi-de-hero__inner {
    min-height: var(--ypi-de-hero-height) !important;
  }

  body.ypi-de-active .ypi-de-hero__inner {
    padding: 42px 20px 104px !important;
  }

  body.ypi-de-active .ypi-de-hero__title {
    font-size: clamp(25px, 3.2vw, 34px) !important;
  }

  body.ypi-de-active .ypi-de-hero__text {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  body.ypi-de-active .ypi-de-search-card,
  body.ypi-de-active .ypi-de-search-card--in-hero {
    position: absolute !important;
    left: 50% !important;
    bottom: calc(-1 * var(--ypi-de-hero-overlap)) !important;
    width: min(860px, calc(100% - 44px)) !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
  }

  body.ypi-de-active .ypi-de-search__tabs {
    width: max-content !important;
  }

  body.ypi-de-active .ypi-de-search__row {
    grid-template-columns: minmax(0, 2.1fr) minmax(178px, .92fr) minmax(146px, .72fr) !important;
  }
}


/* v1.3.32 tablet-landscape desktop guard.
 * YPI Houzez Mobile Menu stays active for phones/tablet portrait, while tablet landscape keeps the desktop header/menu. */
html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-header,
html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-header,
html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  transform: none !important;
  clip: auto !important;
  clip-path: none !important;
  pointer-events: auto !important;
}

html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-header__inner,
html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-brand,
html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-nav,
html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-nav__menu,
html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-header__account,
html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-header__inner,
html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-brand,
html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-nav,
html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-nav__menu,
html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-header__account,
html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-header__inner,
html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-brand,
html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-nav,
html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-nav__menu,
html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-header__account {
  visibility: visible !important;
  opacity: 1 !important;
  max-height: none !important;
  pointer-events: auto !important;
}

html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-nav,
html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-nav,
html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-nav {
  display: flex !important;
}

html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-nav__menu,
html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-nav__menu,
html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-nav__menu {
  display: flex !important;
  flex-wrap: nowrap !important;
}

html.ypi-de-force-desktop-tablet body .header-mobile,
html.ypi-de-force-desktop-tablet body .mobile-header,
html.ypi-de-force-desktop-tablet body .mobile-menu,
html.ypi-de-force-desktop-tablet body .mobile-nav,
html.ypi-de-force-desktop-tablet body .houzez-mobile-nav,
html.ypi-de-force-desktop-tablet body .nav-mobile,
html.ypi-de-force-desktop-tablet body .ypi-mobile-menu,
html.ypi-de-force-desktop-tablet body .ypi-houzez-mobile-menu,
html.ypi-de-force-desktop-tablet body [class*="mobile-menu"],
html.ypi-de-force-desktop-tablet body [class*="mobile-nav"],
html.ypi-de-force-desktop-tablet body [id*="mobile-menu"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (min-width: 768px) and (max-width: 1440px) and (orientation: landscape) {
  html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-header .ypi-de-shell,
  html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-header .ypi-de-shell,
  html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-header .ypi-de-shell {
    width: min(1480px, calc(100% - 40px)) !important;
  }

  html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-header__inner,
  html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-header__inner,
  html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-header__inner {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 68px !important;
  }

  html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-nav,
  html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-nav,
  html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-nav {
    grid-column: auto !important;
    order: 0 !important;
    width: auto !important;
    justify-content: center !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-nav__menu,
  html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-nav__menu,
  html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-nav__menu {
    justify-content: center !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-nav__menu a,
  html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-nav__more > summary,
  html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-nav__menu a,
  html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-nav__more > summary,
  html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-nav__menu a,
  html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-nav__more > summary {
    min-height: 36px !important;
    padding: 0 9px !important;
    font-size: 12.5px !important;
  }

  html.ypi-de-force-desktop-tablet body.ypi-de-active .ypi-de-header__account-copy,
  html.ypi-de-force-desktop-tablet body.ypi-de-sitewide-header .ypi-de-header__account-copy,
  html.ypi-de-force-desktop-tablet body .ypi-de-tablet-landscape-rescue .ypi-de-header__account-copy {
    display: none !important;
  }
}


/* v1.3.37 guest login/register dropdown */
.ypi-de-auth-menu{position:relative;z-index:var(--ypi-de-header-menu-z,91)}
.ypi-de-auth-menu>summary{list-style:none;cursor:pointer}
.ypi-de-auth-menu>summary::-webkit-details-marker{display:none}
.ypi-de-auth-menu[open]>.ypi-de-header__cta{color:var(--ypi-de-primary);border-color:rgba(45,139,115,.28);box-shadow:0 14px 30px rgba(15,23,42,.075)}
.ypi-de-auth-menu__summary{gap:8px}
.ypi-de-auth-menu__dropdown{position:absolute;top:calc(100% + 10px);right:0;z-index:var(--ypi-de-header-dropdown-z,110);width:min(360px,calc(100vw - 28px));padding:14px;border-radius:var(--ypi-de-radius)!important;border:1px solid rgba(15,23,42,.08)!important;background:rgba(255,255,255,.98)!important;box-shadow:0 22px 46px rgba(15,23,42,.13)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.ypi-de-auth-menu__head{display:grid;gap:3px;margin-bottom:12px;padding:12px;border-radius:var(--ypi-de-radius);background:linear-gradient(135deg,rgba(45,139,115,.1),rgba(45,139,115,.035));border:1px solid rgba(45,139,115,.12)}
.ypi-de-auth-menu__head strong{font-size:15px;line-height:1.25;color:#122320}
.ypi-de-auth-menu__head span{font-size:12.5px;line-height:1.35;color:var(--ypi-de-muted)}
.ypi-de-auth-menu__tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px;padding:4px;border-radius:var(--ypi-de-radius);background:#f4f7f6;border:1px solid rgba(15,23,42,.06)}
.ypi-de-auth-menu__tab{height:36px;border:0;border-radius:calc(var(--ypi-de-radius) - 2px);background:transparent;color:#33423f;font-size:13px;font-weight:600;cursor:pointer;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
.ypi-de-auth-menu__tab.is-active{background:#fff;color:var(--ypi-de-primary);box-shadow:0 8px 18px rgba(15,23,42,.07)}
.ypi-de-auth-menu__panel{display:none}
.ypi-de-auth-menu__panel.is-active{display:block}
.ypi-de-auth-form{display:grid;gap:10px;margin:0}
.ypi-de-auth-form label{display:grid;gap:5px;margin:0;color:#22322f;font-size:12.5px;font-weight:600}
.ypi-de-auth-form input[type="text"],.ypi-de-auth-form input[type="email"],.ypi-de-auth-form input[type="password"]{width:100%;height:42px;margin:0;padding:0 12px;border-radius:var(--ypi-de-radius);border:1px solid rgba(15,23,42,.12);background:#fff;color:#122320;font-size:14px;outline:none;box-shadow:none}
.ypi-de-auth-form input:focus{border-color:rgba(45,139,115,.42);box-shadow:0 0 0 3px rgba(45,139,115,.12)}
.ypi-de-auth-form__row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px;color:var(--ypi-de-muted);font-size:12.5px}
.ypi-de-auth-form__remember{display:inline-flex!important;grid-template-columns:none!important;align-items:center;gap:7px!important;font-weight:500!important;color:var(--ypi-de-muted)!important}
.ypi-de-auth-form__remember input{width:15px;height:15px;margin:0;accent-color:var(--ypi-de-primary)}
.ypi-de-auth-form__row a{color:var(--ypi-de-primary);text-decoration:none;font-weight:600}
.ypi-de-auth-form__submit{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:42px;margin-top:2px;padding:0 14px;border:0;border-radius:var(--ypi-de-radius);background:var(--ypi-de-primary);color:#fff!important;text-decoration:none;font-size:13px;font-weight:700;line-height:1.2;cursor:pointer;box-shadow:0 12px 24px rgba(45,139,115,.22);transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.ypi-de-auth-form__submit:hover{transform:translateY(-1px);box-shadow:0 16px 28px rgba(45,139,115,.26);background:#236e5b;color:#fff!important}
.ypi-de-auth-form__note,.ypi-de-auth-menu__disabled p{margin:2px 0 0;color:var(--ypi-de-muted);font-size:12.5px;line-height:1.45}
.ypi-de-auth-menu__disabled{display:grid;gap:9px;color:#122320}

/* v1.3.38 Houzez-compatible auth flow */
.ypi-de-auth-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ypi-de-auth-form input[type="tel"],.ypi-de-auth-form__select{width:100%;height:42px;margin:0;padding:0 12px;border-radius:var(--ypi-de-radius);border:1px solid rgba(15,23,42,.12);background:#fff;color:#122320;font-size:14px;outline:none;box-shadow:none}
.ypi-de-auth-form__select{appearance:auto;cursor:pointer}
.ypi-de-auth-form input[type="tel"]:focus,.ypi-de-auth-form__select:focus{border-color:rgba(45,139,115,.42);box-shadow:0 0 0 3px rgba(45,139,115,.12)}
.ypi-de-auth-form__terms{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:8px!important;font-weight:500!important;color:var(--ypi-de-muted)!important;line-height:1.35}
.ypi-de-auth-form__terms input{width:16px;height:16px;margin:1px 0 0;flex:0 0 auto;accent-color:var(--ypi-de-primary)}
.ypi-de-auth-form__terms a,.ypi-de-auth-form__fallback{color:var(--ypi-de-primary);font-weight:700;text-decoration:none}
.ypi-de-auth-form__fallback{justify-self:center;font-size:12.5px}
.ypi-de-auth-form__message{display:none;margin:0;padding:9px 10px;border-radius:var(--ypi-de-radius);font-size:12.5px;font-weight:600;line-height:1.35}
.ypi-de-auth-form__message.is-success,.ypi-de-auth-form__message.is-error{display:block}
.ypi-de-auth-form__message.is-success{background:rgba(45,139,115,.1);border:1px solid rgba(45,139,115,.2);color:#056d7a}
.ypi-de-auth-form__message.is-error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}
.ypi-de-auth-form__submit:disabled{opacity:.68;cursor:wait;transform:none!important;box-shadow:none!important}
@media (max-width:420px){.ypi-de-auth-form__grid{grid-template-columns:1fr}}
@media (max-width:1024px){.ypi-de-auth-menu__dropdown{right:0}}
@media (max-width:640px){.ypi-de-auth-menu__dropdown{position:fixed;top:76px;right:14px;left:14px;width:auto}.admin-bar .ypi-de-auth-menu__dropdown{top:108px}}


/* v1.3.39 paid homepage sponsored properties bridge */
.ypi-de-section--sponsored .ypi-de-section__head--sponsored p{
  margin:8px 0 0;
  max-width:620px;
  color:var(--ypi-de-muted);
  font-size:14px;
  line-height:1.7;
}
.ypi-de-carousel__track--sponsored{
  scroll-padding-left:4px;
}
.ypi-de-property-card--sponsored{
  position:relative;
  border-color:rgba(45,139,115,.16);
  box-shadow:0 18px 38px rgba(45,139,115,.08);
}
.ypi-de-property-card__badges{
  position:absolute;
  left:12px;
  top:12px;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  max-width:calc(100% - 24px);
  pointer-events:none;
}
.ypi-de-property-card__badges .ypi-de-pill{
  position:static;
  left:auto;
  top:auto;
}
.ypi-de-pill--sponsored{
  background:#2d8b73!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(45,139,115,.22);
}
body.ypi-de-active .ypi-de-property-card__badges{
  top:12px;
  left:12px;
}
body.ypi-de-active .ypi-de-property-card__badges .ypi-de-pill{
  position:static;
}

/* v1.3.40 paid Featured Agency bridge */
body.ypi-de-active .ypi-de-agency-card--featured,
.ypi-de-agency-card--featured {
  border: 2px solid rgba(45, 139, 115, .28) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%) !important;
  box-shadow: 0 18px 44px rgba(45, 139, 115, .13) !important;
}

body.ypi-de-active .ypi-de-agency-card__media,
.ypi-de-agency-card__media {
  position: relative;
}

body.ypi-de-active .ypi-de-pill--agency-sponsored,
.ypi-de-pill--agency-sponsored {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #2d8b73;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(45, 139, 115, .22);
}


/* v1.3.43 UAE homepage polish: agency profile links, hero search, colors and Smart Search-compatible fields. */
:root,
body.ypi-de-active {
  --ypi-de-primary: #2d8b73 !important;
  --ypi-de-primary-dark: #236e5b !important;
  --ypi-de-text: #000000 !important;
  --ypi-de-muted: #000000 !important;
}

body.ypi-de-active .ypi-de,
body.ypi-de-active .ypi-de :where(p,span,small,label,a,h1,h2,h3,h4,input,select,button) {
  color: var(--ypi-de-text);
}

body.ypi-de-active .ypi-de-hero__media {
  background-image: url('https://ypi.ae/wp-content/uploads/2026/05/Slide1Ypi.png');
}

body.ypi-de-active .ypi-de-search-card--in-hero {
  transform: translateY(-20%);
  margin-bottom: -42px;
}

body.ypi-de-active .ypi-de-search__tabs {
  flex-wrap: wrap;
}

body.ypi-de-active .ypi-de-search__tab.is-active,
body.ypi-de-active .ypi-de-search__submit,
body.ypi-de-active .ypi-de-button--primary {
  background: var(--ypi-de-primary) !important;
  border-color: var(--ypi-de-primary) !important;
  color: #ffffff !important;
  background-image: none !important;
}

body.ypi-de-active .ypi-de-search__tab.is-active *,
body.ypi-de-active .ypi-de-search__submit *,
body.ypi-de-active .ypi-de-button--primary * {
  color: #ffffff !important;
}

body.ypi-de-active .ypi-de-field--beds {
  min-width: 120px;
}

body.ypi-de-active .ypi-de-agency-card--featured {
  border-color: rgba(45, 139, 115, .32) !important;
  box-shadow: 0 18px 44px rgba(45, 139, 115, .12) !important;
}

body.ypi-de-active .ypi-de-agency-card__media .ypi-de-pill--agency-sponsored {
  display: none !important;
}

body.ypi-de-active .ypi-de-pill--agency-sponsored-inline,
.ypi-de-pill--agency-sponsored-inline {
  position: static !important;
  inset: auto !important;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 8px 0;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #2d8b73 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  letter-spacing: .03em;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

body.ypi-de-active .ypi-de-agency-card__title-prefix {
  color: #000000 !important;
  font-weight: 500;
}

@media (max-width: 900px) {
  body.ypi-de-active .ypi-de-search-card--in-hero {
    transform: none;
    margin-bottom: 0;
  }
}

/* YPI.AE v1.3.44 — hero readability + Smart Search alignment. */
body.ypi-de-active #ypi-de-hero-title,
body.ypi-de-active .ypi-de-hero__title {
  color: #ffffff !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  line-height: 1.18 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .28) !important;
}

body.ypi-de-active .ypi-de-hero__text {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.62 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .22) !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
  grid-template-columns: minmax(0, 2.15fr) minmax(152px, .72fr) minmax(152px, .72fr) minmax(118px, .55fr) !important;
  gap: 10px !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__actions-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 10px !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__actions-row .ypi-de-search__submit {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 150px !important;
  margin: 0 !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__quicklinks {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds::before {
  content: "▭" !important;
  color: var(--ypi-de-primary) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--type-residential::before,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--type-commercial::before {
  content: "⌂" !important;
  color: var(--ypi-de-primary) !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--type-residential select,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--type-commercial select,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds select {
  color: #000000 !important;
  font-weight: 500 !important;
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
    grid-template-columns: minmax(0, 1.9fr) minmax(140px, .72fr) minmax(140px, .72fr) minmax(108px, .55fr) !important;
  }
}

@media (max-width: 900px) {
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
    grid-template-columns: 1fr !important;
  }

  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__actions-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__actions-row .ypi-de-search__submit,
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__quicklinks {
    width: 100% !important;
    justify-content: center !important;
  }
}


/* YPI.AE v1.3.45 — simplify homepage search: Beds + Bath, no type split. */
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
  grid-template-columns: minmax(0, 2.35fr) minmax(118px, .55fr) minmax(118px, .55fr) !important;
  gap: 10px !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--bath {
  min-width: 118px !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds::before {
  content: "▭" !important;
  color: var(--ypi-de-primary) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--bath::before {
  content: "◌" !important;
  color: var(--ypi-de-primary) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds select,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--bath select {
  color: #000000 !important;
  font-weight: 500 !important;
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
    grid-template-columns: minmax(0, 2fr) minmax(108px, .55fr) minmax(108px, .55fr) !important;
  }
}

@media (max-width: 820px) {
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
    grid-template-columns: 1fr !important;
  }
}


/* YPI.AE v1.3.48 — keep homepage hero search aligned with a fixed 130x52px submit button. */
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
  display: grid !important;
  grid-template-columns: minmax(0, 2.55fr) minmax(118px, .55fr) minmax(118px, .55fr) 130px !important;
  align-items: stretch !important;
  gap: 10px !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit--inline {
  width: 130px !important;
  min-width: 130px !important;
  max-width: 130px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__actions-row {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  margin-top: 0 !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__quicklinks {
  width: 100% !important;
  justify-content: flex-start !important;
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
    grid-template-columns: minmax(0, 2.1fr) minmax(104px, .55fr) minmax(104px, .55fr) 130px !important;
  }
}

@media (max-width: 820px) {
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
    grid-template-columns: 1fr !important;
  }

  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit--inline {
    min-width: 0 !important;
  }

  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__actions-row,
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__quicklinks {
    justify-content: center !important;
  }
}

/* YPI.AE v1.3.48 — set homepage hero Search button to 130x52px. */
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit--inline {
  width: 130px !important;
  min-width: 130px !important;
  max-width: 130px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit--inline * {
  line-height: 1 !important;
}

/* YPI.AE v1.3.48 — mobile search button keeps full width. */

@media (max-width: 820px) {
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit,
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit--inline {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}


/* YPI.AE v1.3.49 — normalize hero search controls to one exact 52px row. */
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
  align-items: center !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field input,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field select,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit--inline {
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  box-sizing: border-box !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field {
  display: block !important;
  margin: 0 !important;
  line-height: 1 !important;
  transform: none !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field:hover,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field.is-focused {
  transform: none !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field input,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field select {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 52px !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit--inline {
  align-self: center !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 1px !important;
  line-height: 1 !important;
}

@media (max-width: 820px) {
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit,
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__submit--inline {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* YPI.AE v1.3.50 — clearer Beds/Bath icons and 10% narrower location field. */
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
  grid-template-columns: minmax(0, 2.25fr) minmax(132px, .68fr) minmax(132px, .68fr) 130px !important;
  gap: 10px !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--location {
  min-width: 0 !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--bath {
  min-width: 132px !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds::before,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--bath::before {
  content: "" !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds::after {
  content: "" !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d8b73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11V7a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v4'/%3E%3Cpath d='M12 11V8a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v3'/%3E%3Cpath d='M3 11h18a2 2 0 0 1 2 2v5H1v-5a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M1 18v2M23 18v2'/%3E%3C/svg%3E") !important;
  opacity: 1 !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--bath::after {
  content: "" !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d8b73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10V6a4 4 0 0 1 8 0v4'/%3E%3Cpath d='M4 10h17v4a6 6 0 0 1-6 6H10a6 6 0 0 1-6-6v-4Z'/%3E%3Cpath d='M6 20l-1 2M18 20l1 2'/%3E%3Cpath d='M9 14h6'/%3E%3C/svg%3E") !important;
  opacity: 1 !important;
}

body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds select,
body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--bath select {
  padding-left: 52px !important;
  padding-right: 24px !important;
  font-size: 15px !important;
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
    grid-template-columns: minmax(0, 2.05fr) minmax(124px, .66fr) minmax(124px, .66fr) 130px !important;
  }

  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds,
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--bath {
    min-width: 124px !important;
  }
}

@media (max-width: 820px) {
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-search__row {
    grid-template-columns: 1fr !important;
  }

  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--beds,
  body.ypi-de-active .ypi-de-search-card--in-hero .ypi-de-field--bath {
    min-width: 0 !important;
  }
}


/* YPI.AE v1.3.52 — lift hero search card to -75% on desktop/tablet landscape. */
body.ypi-de-active .ypi-de-search-card--in-hero {
  transform: translate(-50%, -75%) !important;
  margin-bottom: -84px !important;
}

@media (max-width: 900px) {
  body.ypi-de-active .ypi-de-search-card--in-hero {
    transform: none !important;
    margin-bottom: 0 !important;
  }
}


/* YPI.AE v1.3.53 — readable listing badges and tighter trust band spacing. */
body.ypi-de-active .ypi-de-property-card__media .ypi-de-pill,
body.ypi-de-active .ypi-de-property-card__media .ypi-de-pill *,
body.ypi-de-active .ypi-de-property-card__badges .ypi-de-pill,
body.ypi-de-active .ypi-de-property-card__badges .ypi-de-pill * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.ypi-de-active .ypi-de-property-card__media .ypi-de-pill {
  background: rgba(18, 35, 32, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
}

body.ypi-de-active .ypi-de-property-card__media .ypi-de-pill--sponsored {
  background: #2d8b73 !important;
  font-weight: 700 !important;
}

@media (min-width: 901px) {
  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section,
  body.ypi-de-active .ypi-de-hero-wrap--wide + .ypi-de-section {
    margin-top: -48px !important;
  }

  body.ypi-de-active .ypi-de-band {
    transform: translateY(-18px) !important;
    margin-bottom: -18px !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section,
  body.ypi-de-active .ypi-de-hero-wrap--wide + .ypi-de-section {
    margin-top: -28px !important;
  }

  body.ypi-de-active .ypi-de-band {
    transform: translateY(-10px) !important;
    margin-bottom: -10px !important;
  }
}

@media (max-width: 900px) {
  body.ypi-de-active .ypi-de-band {
    transform: none !important;
    margin-bottom: 0 !important;
  }
}


/* YPI.AE v1.3.54 — safe trust band spacing without clipped top edge. */
body.ypi-de-active .ypi-de-section--trust-band {
  content-visibility: visible !important;
  contain: none !important;
  contain-intrinsic-size: auto !important;
  overflow: visible !important;
}

@media (min-width: 901px) {
  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-hero-wrap--wide + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-section--trust-band {
    margin-top: 8px !important;
  }

  body.ypi-de-active .ypi-de-section--trust-band .ypi-de-band {
    transform: none !important;
    margin-bottom: 0 !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-hero-wrap--wide + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-section--trust-band {
    margin-top: 12px !important;
  }

  body.ypi-de-active .ypi-de-section--trust-band .ypi-de-band {
    transform: none !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 900px) {
  body.ypi-de-active .ypi-de-section--trust-band {
    margin-top: 24px !important;
  }

  body.ypi-de-active .ypi-de-section--trust-band .ypi-de-band {
    transform: none !important;
    margin-bottom: 0 !important;
  }
}


/* YPI.AE v1.3.55 — lift trust band closer to the hero search card without clipping. */
@media (min-width: 901px) {
  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-hero-wrap--wide + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-section--trust-band {
    margin-top: -48px !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }

  body.ypi-de-active .ypi-de-section--trust-band .ypi-de-band {
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-hero-wrap--wide + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-section--trust-band {
    margin-top: -36px !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }
}

@media (max-width: 900px) {
  body.ypi-de-active .ypi-de-section--trust-band {
    margin-top: 18px !important;
    padding-top: 0 !important;
  }
}


/* YPI.AE v1.3.56 — lift trust band another 10% closer to the hero search card, without clipping. */
@media (min-width: 901px) {
  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-hero-wrap--wide + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-section--trust-band {
    margin-top: -60px !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }

  body.ypi-de-active .ypi-de-section--trust-band .ypi-de-band {
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  body.ypi-de-active .ypi-de-hero-wrap + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-hero-wrap--wide + .ypi-de-section--trust-band,
  body.ypi-de-active .ypi-de-section--trust-band {
    margin-top: -44px !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }
}

@media (max-width: 900px) {
  body.ypi-de-active .ypi-de-section--trust-band {
    margin-top: 18px !important;
    padding-top: 0 !important;
  }
}
