/* ELIKA Page Repairs V44.13 — curated map and aligned property-type cards. */

body.page-id-1305 .ew-condo-map {
  box-sizing: border-box;
  width: 100%;
  padding: 104px 0;
  color: #fbfaf7;
  background: #202820;
}

body.page-id-1305 .ew-condo-map__shell {
  box-sizing: border-box;
  width: min(calc(100% - 64px), 1320px);
  margin: 0 auto;
}

body.page-id-1305 .ew-condo-map__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 46px;
}

body.page-id-1305 .ew-condo-map__eyebrow {
  margin: 0 0 17px;
  color: #c0c8c0;
  font: 700 10px/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: .19em;
  text-transform: uppercase;
}

body.page-id-1305 .ew-condo-map__head h2 {
  max-width: 900px;
  margin: 0;
  color: #fbfaf7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.045em;
}

/* Keep editorial card titles on a shared baseline. The original auto margins
 * moved each title according to the length of the copy below it. */
body.page-id-1305 .ew-card h3,
body.page-id-1293 .ew-card h3 {
  margin-top: 88px !important;
}

body.page-id-1305 .ew-check h3,
body.page-id-1293 .ew-check h3 {
  margin-top: 112px !important;
}

body.page-id-1305 .ew-step h3,
body.page-id-1293 .ew-step h3 {
  margin-top: 72px !important;
}

body.page-id-1305 .ew-related-grid > a h3,
body.page-id-1293 .ew-related-grid > a h3 {
  margin-top: 66px !important;
}

@media (min-width: 1180px) {
  body.page-id-1305 .ew-card h3,
  body.page-id-1293 .ew-card h3,
  body.page-id-1305 .ew-step h3,
  body.page-id-1293 .ew-step h3 {
    white-space: nowrap;
  }
}

/* All four property-type pages load this asset. These final desktop rules use
 * fixed title rows instead of copy-dependent auto margins, keeping headings
 * level and inline across every box. */
@media (min-width: 1100px) {
  body .ew-card h3 {
    flex: 0 0 auto !important;
    margin: 88px 0 13px !important;
    font-size: 26px !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
  }

  body .ew-check h3 {
    flex: 0 0 auto !important;
    margin: 112px 0 12px !important;
    font-size: 25px !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
  }

  body .ew-step h3 {
    flex: 0 0 auto !important;
    margin: 72px 0 10px !important;
    font-size: 23px !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
  }

  body .ew-related-grid > a h3 {
    flex: 0 0 auto !important;
    margin: 66px 0 17px !important;
    font-size: 23px !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
  }
}

body.page-id-1305 .ew-condo-map__head > p {
  max-width: 520px;
  margin: 0;
  color: #d6d8d2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.7;
}

body.page-id-1305 .ew-condo-map__frame {
  box-sizing: border-box;
  padding: 14px;
  background: #fbfaf7;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .25);
}

body.page-id-1305 .ew-condo-map__frame iframe {
  display: block;
  width: 100%;
  height: clamp(560px, 62vw, 760px);
  margin: 0;
  border: 0;
  background: #e9e7e1;
}

body.page-id-1305 .ew-condo-map__note {
  margin: 20px 0 0;
  color: #bfc5bf;
  font: 400 12px/1.6 Arial, Helvetica, sans-serif;
  letter-spacing: .02em;
}

@media (max-width: 900px) {
  body.page-id-1305 .ew-condo-map {
    padding: 78px 0;
  }

  body.page-id-1305 .ew-condo-map__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  body.page-id-1305 .ew-condo-map__head > p {
    max-width: 720px;
  }

  body.page-id-1305 .ew-card h3,
  body.page-id-1293 .ew-card h3,
  body.page-id-1305 .ew-check h3,
  body.page-id-1293 .ew-check h3,
  body.page-id-1305 .ew-step h3,
  body.page-id-1293 .ew-step h3,
  body.page-id-1305 .ew-related-grid > a h3,
  body.page-id-1293 .ew-related-grid > a h3 {
    margin-top: 34px !important;
    white-space: normal;
  }
}

@media (min-width: 901px) and (max-width: 1099px) {
  body .ew-card h3,
  body .ew-check h3,
  body .ew-step h3,
  body .ew-related-grid > a h3 {
    white-space: normal !important;
  }
}

@media (max-width: 620px) {
  body.page-id-1305 .ew-condo-map {
    padding: 64px 0;
  }

  body.page-id-1305 .ew-condo-map__shell {
    width: calc(100% - 28px);
  }

  body.page-id-1305 .ew-condo-map__head {
    margin-bottom: 30px;
  }

  body.page-id-1305 .ew-condo-map__head h2 {
    font-size: 42px;
  }

  body.page-id-1305 .ew-condo-map__head > p {
    font-size: 16px;
  }

  body.page-id-1305 .ew-condo-map__frame {
    padding: 7px;
  }

  body.page-id-1305 .ew-condo-map__frame iframe {
    height: 520px;
  }
}
