/* ========================================================================
   ELIKA Site Modernizer 9.6.6 — interface polish
   ======================================================================== */

/* Square Foot Calculator: remove the retired circular pseudo-control while
   preserving the native radio inputs, keyboard focus and calculation code. */
html body.page-id-60484.elika-calculator-repair-v959 .vc-sqft-calculator .radio-slider > label::after {
  box-sizing: border-box !important;
  display: block !important;
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  background: transparent !important;
  font: 700 11px/1.3 Arial, Helvetica, sans-serif !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  transform: none !important;
}

/* The calculator's closing-cost bridge was present in the page content but
   had never received presentation rules. Give it the same restrained editorial
   hierarchy as the surrounding ELIKA planning tools. */
html body.page-id-60484 #elika-square-foot-closing-costs {
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: none !important;
  margin: clamp(64px, 8vw, 112px) 0 0 calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  background: #aeb8ae !important;
  color: #1d211d !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs,
html body.page-id-60484 #elika-square-foot-closing-costs * {
  box-sizing: border-box !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__inner {
  width: min(100%, 1320px) !important;
  margin: 0 auto !important;
  padding: clamp(68px, 7vw, 104px) clamp(24px, 5vw, 72px) clamp(76px, 8vw, 116px) !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__head {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr) !important;
  column-gap: clamp(36px, 7vw, 104px) !important;
  align-items: end !important;
  margin: 0 0 clamp(38px, 5vw, 64px) !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__eyebrow {
  grid-column: 1 / -1 !important;
  margin: 0 0 18px !important;
  color: #3f493f !important;
  font: 700 10px/1.2 Arial, Helvetica, sans-serif !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs h2 {
  margin: 0 !important;
  color: #171a17 !important;
  font: 400 clamp(39px, 4.5vw, 66px)/.98 Georgia, "Times New Roman", serif !important;
  letter-spacing: -.045em !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__head > p:last-child {
  margin: 0 !important;
  color: #343b35 !important;
  font: 400 17px/1.62 Georgia, "Times New Roman", serif !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1px !important;
  overflow: hidden !important;
  border: 1px solid rgba(29, 33, 29, .28) !important;
  background: rgba(29, 33, 29, .28) !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card {
  display: grid !important;
  grid-template-rows: auto auto 1fr auto !important;
  min-width: 0 !important;
  min-height: 310px !important;
  margin: 0 !important;
  padding: clamp(28px, 4vw, 48px) !important;
  border: 0 !important;
  color: #1d211d !important;
  background: #f8f5ee !important;
  text-decoration: none !important;
  transition: color .22s ease, background-color .22s ease !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__number {
  margin: 0 0 34px !important;
  color: #687168 !important;
  font: 700 10px/1.2 Arial, Helvetica, sans-serif !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card > strong {
  display: block !important;
  margin: 0 0 18px !important;
  color: inherit !important;
  font: 400 clamp(27px, 2.7vw, 39px)/1.04 Georgia, "Times New Roman", serif !important;
  letter-spacing: -.035em !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card > span:not(.elika-square-foot-costs__number) {
  display: block !important;
  margin: 0 0 34px !important;
  color: #565a54 !important;
  font: 400 15px/1.65 Arial, Helvetica, sans-serif !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card > b {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  align-self: end !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(29, 33, 29, .24) !important;
  color: inherit !important;
  font: 700 10px/1.2 Arial, Helvetica, sans-serif !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card > b i {
  font: 400 20px/1 Arial, Helvetica, sans-serif !important;
  transition: transform .22s ease !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card:hover,
html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card:focus-visible {
  color: #f8f5ee !important;
  background: #29312b !important;
  outline: 0 !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card:hover > span,
html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card:focus-visible > span {
  color: rgba(248, 245, 238, .76) !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card:hover > b,
html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card:focus-visible > b {
  border-color: rgba(248, 245, 238, .35) !important;
}

html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card:hover > b i,
html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card:focus-visible > b i {
  transform: translateX(4px) !important;
}

/* A pruned WordPress admin-bar stylesheet otherwise leaves its raw menu at the
   bottom of this public calculator page. Hide that unstyled duplicate only. */
html:has(body.page-id-60484) {
  margin-top: 0 !important;
}

html body.page-id-60484 #wpadminbar {
  display: none !important;
}

/* Keep both Google proof labels on one calm baseline. */
html body :is(.elika-google-reviews, .elika-google-rating, .elika-google-rating__label) {
  white-space: nowrap !important;
}

html body .elika-google-rating {
  flex-wrap: nowrap !important;
}

html body .elika-google-reviews,
html body .elika-google-rating__label {
  display: inline-block !important;
  width: max-content !important;
  min-width: max-content !important;
}

html body #elika-testimonials-page-v1 .et-proof__item:has(.elika-google-reviews),
html body #elika-testimonials-page-v1 .et-proof__item:has(.elika-google-rating__label) {
  gap: 10px !important;
  padding-right: clamp(18px, 2.2vw, 34px) !important;
  padding-left: clamp(18px, 2.2vw, 34px) !important;
}

html body #elika-testimonials-page-v1 :is(.elika-google-reviews, .elika-google-rating__label) {
  font-size: clamp(16px, 1.3vw, 20px) !important;
}

/* Shorter alert copy with deliberate breathing room at both edges. */
html body.elika-property-search-modern :is(.elika-pa-save-button, [data-elika-property-alert-button]) {
  width: auto !important;
  min-width: 190px !important;
  max-width: 100% !important;
  padding-right: 30px !important;
  padding-left: 30px !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__head,
  html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__cards {
    grid-template-columns: 1fr !important;
  }

  html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__head {
    row-gap: 24px !important;
  }

  html body.page-id-60484 #elika-square-foot-closing-costs .elika-square-foot-costs__card {
    min-height: 0 !important;
  }

  html body .elika-google-rating {
    gap: 6px !important;
  }

  html body .elika-google-reviews,
  html body .elika-google-rating__label {
    font-size: clamp(12px, 3.2vw, 17px) !important;
  }

  html body.elika-property-search-modern :is(.elika-pa-save-button, [data-elika-property-alert-button]) {
    width: 100% !important;
  }
}

@media (min-width: 701px) and (max-width: 1080px) {
  html body #elika-testimonials-page-v1 .et-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body #elika-testimonials-page-v1 .et-proof__item {
    border-bottom: 1px solid var(--et-line) !important;
  }

  html body #elika-testimonials-page-v1 .et-proof__item:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.page-id-60484 #elika-square-foot-closing-costs :is(.elika-square-foot-costs__card, .elika-square-foot-costs__card > b i) {
    transition: none !important;
  }
}
